]> asedeno.scripts.mit.edu Git - linux.git/commit
tty: max310x: Optionally enable rs485 on startup
authorSerge Semin <fancer.lancer@gmail.com>
Tue, 14 May 2019 10:14:14 +0000 (13:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2019 10:15:53 +0000 (12:15 +0200)
commit2b9e6f0a400b6be1a408cd63ed09cfeb8f5dd627
treec607b11b8447c31af6bd3c1d58736fde897f4866
parent68f22c0c99d9c3534b88d1cd1215753a7a3655aa
tty: max310x: Optionally enable rs485 on startup

UART port might be pre-configured with rs485 enabled flag at the
time of the port starting up process. In this case we need to
have the hardware rs485-related registers initialized in accordance
with the rs485 flags and settings provided by the configs descriptor.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c