[PATCH 0/2] serial: imx: fix unbind/bind console

From: Francesco Dolcini
Date: Thu Oct 14 2021 - 03:17:38 EST


Hi,
here a couple of fixes to properly handle imx serial console
bind/unbind at runtime.

The patch from Stefan was already posted years ago
but never merged [1], however is still valid and it's
pretty easy to trigger the problem.

[1] https://marc.info/?l=linux-serial&m=154221779312036&w=2

Francesco Dolcini (1):
serial: imx: disable console clocks on unregister

Stefan Agner (1):
serial: imx: fix crash when un/re-binding console

drivers/tty/serial/imx.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)

--
2.25.1