]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
serial: stm32: fix initialization of RS485 mode
authorBich HEMON <bich.hemon@st.com>
Thu, 15 Mar 2018 08:44:46 +0000 (08:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 16:39:43 +0000 (17:39 +0100)
commit7d8f68619e4f530e19c17e7c0d04f0a791891a77
tree05cf61dd21150a2b1bf697c40ee65aa1882d8825
parentdbb3fb45edfff70ac62e5b841a8da634f7e3c1d9
serial: stm32: fix initialization of RS485 mode

Configure RS485 mode during port initialization.

Fixes: 1bcda09d2910 ("serial: stm32: add support for RS485 hardware control mode")
Signed-off-by: Bich Hemon <bich.hemon@st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c