Re: [PATCH V2 5/5] tty: serial: fsl_lpuart: clear LPUART Status Register in lpuart32_shutdown()

From: Michael Walle
Date: Wed Nov 23 2022 - 05:50:50 EST


Am 2022-11-10 09:17, schrieb Sherry Sun:
The LPUART Status Register needs to be cleared when closing the uart
port to get a clean environment when reopening the uart.

Shouldn't it be cleared on startup instead? What if there was some
kind of event between shutdown and startup?

-michael