serial: max310x: turn off transmitter before activating AutoCTS or auto transmitter...
authorChristoph Vogtländer <c.vogtlaender@sigma-surface-science.com>
Wed, 4 Sep 2019 12:17:46 +0000 (14:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2019 07:57:44 +0000 (09:57 +0200)
commit7d4f881ff1fb327e96fc36a58c4f0b6482ea453d
tree14b27d97b99b74189f04a140bf9cef98f038884d
parent5a8c296f5362fffc9da5da10eef01cf0b9b4ac7f
serial: max310x: turn off transmitter before activating AutoCTS or auto transmitter flow control

As documented in the data-sheet, the transmitter must be disabled before
activating AutoCTS or auto transmitter flow control. Accordingly, the
transmitter must be enabled after AutoCTS or auto transmitter flow
control gets deactivated.

Signed-off-by: Christoph Vogtländer <c.vogtlaender@sigma-surface-science.com>
Link: https://lore.kernel.org/r/20190904121746.4641-1-c.vogtlaender@sigma-surface-science.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c