]> Git Repo - linux.git/commit
serial: imx: set receiver level before starting uart
authorStefan Eichenberger <[email protected]>
Fri, 21 Jun 2024 15:37:49 +0000 (17:37 +0200)
committerGreg Kroah-Hartman <[email protected]>
Mon, 24 Jun 2024 14:13:37 +0000 (16:13 +0200)
commita81dbd0463eca317eee44985a66aa6cc2ce5c101
treeb13423487321ef83371aa1df16c8840d30deb0ac
parent7c92a8bd53f24d50c8cf4aba53bb75505b382fed
serial: imx: set receiver level before starting uart

Set the receiver level to something > 0 before calling imx_uart_start_rx
in rs485_config. This is necessary to avoid an interrupt storm that
might prevent the system from booting. This was seen on an i.MX7 device
when the rs485-rts-active-low property was active in the device tree.

Fixes: 6d215f83e5fc ("serial: imx: warn user when using unsupported configuration")
Cc: stable <[email protected]>
Signed-off-by: Stefan Eichenberger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/serial/imx.c
This page took 0.052259 seconds and 4 git commands to generate.