SERIAL: omap: allow hardware assisted rts/cts modes to be disabled
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 5 Oct 2012 22:48:28 +0000 (23:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 4 Nov 2012 11:25:57 +0000 (11:25 +0000)
commit0d5b16639523970db001e6af298e360782f4d89a
tree1eda52e168eb796758eeda35cd9c5e28fde9571f
parent9aba8d5b011193c8e01d565c5b585df5b94f1db2
SERIAL: omap: allow hardware assisted rts/cts modes to be disabled

There is nothing which clears the auto RTS/CTS bits, so once hardware
flow control gets enabled, there's no possibility to disable it.
So, clear these bits when CRTSCTS is cleared.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/tty/serial/omap-serial.c