Re: [PATCH] tty/serial: atmel: remove unneeded atmel_get_lines_status function
From: Uwe Kleine-König <hidden>
Date: 2019-08-23 14:32:52
Also in:
lkml
From: Uwe Kleine-König <hidden>
Date: 2019-08-23 14:32:52
Also in:
lkml
On Fri, Aug 23, 2019 at 03:41:09PM +0200, Richard Genoud wrote:
Since commit ce59e48fdbad ("serial: mctrl_gpio: implement interrupt
handling"), the GPIOs interrupts are handled by mctrl_gpio_irq_handle().Well no, since ce59e48fdbad the mctrl_gpio helper can do all that interrupt stuff. You want to reference 18dfef9c7f87b75bbb0fb66a634f7c13a45b9f8d here.
So, atmel_get_lines_status() can be completely killed and replaced by : atmel_uart_readl(port, ATMEL_US_CSR); Signed-off-by: Richard Genoud <redacted>
Suggested-by: Uwe Kleine-König <redacted> Acked-by: Uwe Kleine-König <redacted> Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |