serial: ar933x: Deassert Transmit Enable on ->rs485_config()
authorLukas Wunner <lukas@wunner.de>
Sun, 11 Sep 2022 09:12:15 +0000 (11:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2022 14:43:05 +0000 (16:43 +0200)
commit3a939433ddc1bab98be028903aaa286e5e7461d7
tree25c9b05d181f6a2f35ca8446043cf10593430db0
parentf73db49650a1841b038fd20329e6bfbbdcad45ae
serial: ar933x: Deassert Transmit Enable on ->rs485_config()

The ar933x_uart driver neglects to deassert Transmit Enable when
->rs485_config() is invoked.  Fix it.

Fixes: 9be1064fe524 ("serial: ar933x_uart: add RS485 support")
Cc: stable@vger.kernel.org # v5.7+
Cc: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Link: https://lore.kernel.org/r/5b36af26e57553f084334666e7d24c7fd131a01e.1662887231.git.lukas@wunner.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ar933x_uart.c