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

Francesco Dolcini francesco.dolcini at toradex.com
Thu Oct 14 00:17:11 PDT 2021


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




More information about the linux-arm-kernel mailing list