]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: qcom_geni_serial: Allow mctrl when flow control is disabled
authorMatthias Kaehlcke <mka@chromium.org>
Sat, 19 Jan 2019 00:23:05 +0000 (16:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 08:32:07 +0000 (09:32 +0100)
commitd5107ba8aec3c0c63c2bf33b27b66b4c47a18fe6
treeb634fca6385f444e83a9d911aabd37c620d444b4
parent3f19d90db5a7bbec15ed640ede214dca8ee26115
tty: serial: qcom_geni_serial: Allow mctrl when flow control is disabled

The geni set/get_mctrl() functions currently do nothing unless
hardware flow control is enabled. Remove this arbitrary limitation.

Suggested-by: Johan Hovold <johan@kernel.org>
Fixes: 4000d539dd11 ("tty: serial: qcom_geni_serial: Add support for flow control")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c