OSDN Git Service

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)
commite8a6ca808c5ed1e2b43ab25f1f2cbd43a7574f73
treeb634fca6385f444e83a9d911aabd37c620d444b4
parent27cfb3a53be46a54ec5e0bd04e51995b74c90343
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: 8a8a66a1a18a ("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