Fugang Duan c67643b46c tty: serial: imx: clear the RTSD status before enable the RTSD irq
Clear RTSD status before enabling the irq event for RTSD in
imx_uart_enable_wakeup function.
Since RTSD can be set as the wakeup source, this can avoid any risk of
false triggering of a wake-up interrupts.

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20211125014306.4432-1-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-25 18:38:19 +01:00
..
2020-10-28 13:39:14 +01:00
2021-07-27 12:17:21 +02:00
2020-07-20 09:39:11 +02:00
2021-04-22 12:09:25 +02:00
2020-08-18 13:51:18 +02:00
2019-12-18 15:04:57 +01:00
2020-01-29 10:13:27 -08:00