Re: [PATCH V2] tty: serial: imx: clear the RTSD status before enable the RTSD irq

From: Uwe Kleine-König
Date: Tue Nov 23 2021 - 08:05:06 EST


Hello,

On Tue, Nov 23, 2021 at 06:45:28PM +0800, Sherry Sun wrote:
> From: Fugang Duan <fugang.duan@xxxxxxx>
>
> 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.
>
> Signed-off-by: Fugang Duan <fugang.duan@xxxxxxx>
> Signed-off-by: Sherry Sun <sherry.sun@xxxxxxx>

Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

Thanks
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |

Attachment: signature.asc
Description: PGP signature