On Sun, 11 Sep 2022, Lukas Wunner wrote: > Since commit bd5305dcabbc ("tty: serial: fsl_lpuart: do software reset > for imx7ulp and imx8qxp"), certain i.MX UARTs are reset after they've > already been registered. Register state may thus be clobbered after > user space has begun to open and access the UART. > > Avoid by performing the reset prior to registration. > > Fixes: bd5305dcabbc ("tty: serial: fsl_lpuart: do software reset for imx7ulp and imx8qxp") > Signed-off-by: Lukas Wunner <lukas@xxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx # v5.15+ > Cc: Fugang Duan <fugang.duan@xxxxxxx> > Cc: Sherry Sun <sherry.sun@xxxxxxx> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> -- i.