diff options
author | Christoph Vogtländer <c.vogtlaender@sigma-surface-science.com> | 2019-09-04 15:11:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-05 10:57:44 +0300 |
commit | 5a8c296f5362fffc9da5da10eef01cf0b9b4ac7f (patch) | |
tree | d59c077b82e21459c000566aba89be3c013d9b1d /drivers/tty/vcc.c | |
parent | 8966110c56459d3d0cf3bded77a92988063b0842 (diff) | |
download | linux-5a8c296f5362fffc9da5da10eef01cf0b9b4ac7f.tar.xz |
serial: max310x: Properly set flags in AutoCTS mode
Commit 391f93f2ec9f ("serial: core: Rework hw-assisted flow control
support") has changed the way the AutoCTS mode is handled.
According to that change, serial drivers which enable H/W AutoCTS mode must
set UPSTAT_AUTORTS, UPSTAT_AUTOCTS and UPSTAT_AUTOXOFF to prevent the
serial core from inadvertently disabling RX or TX. This patch adds proper
handling of UPSTAT_AUTORTS, UPSTAT_AUTOCTS and UPSTAT_AUTOXOFF flags.
Signed-off-by: Christoph Vogtländer <c.vogtlaender@sigma-surface-science.com>
Link: https://lore.kernel.org/r/20190904121141.4570-1-c.vogtlaender@sigma-surface-science.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vcc.c')
0 files changed, 0 insertions, 0 deletions