Re: [PATCH V2 2/5] tty: serial: fsl_lpuart: clear UARTCTRL_LOOPS in lpuart32_shutdown()

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


Am 2022-11-10 09:17, schrieb Sherry Sun:
UARTCTRL_LOOPS bit is set in lpuart32_set_mctrl() for loopback mode, but
nowhere clear this bit, it should be cleared when closing the uart port
to avoid the loopback mode been enabled by default when reopening the
uart.

It's cleared in set_mctrl(). What is the expectation from the serial
core here?

-michael