omap-serial: Allow IXON and IXOFF to be disabled.
authorNick Pelly <npelly@google.com>
Fri, 15 Jul 2011 20:53:08 +0000 (13:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:39:48 +0000 (11:39 -0700)
commitf64bd12ba57a622981785b0f45b7c230aaad3e41
treef2c2c6f7af29b4063c861e7ac9938786884bfe78
parentf794b763b267d591df64d5785429d37f63b7fdb5
omap-serial: Allow IXON and IXOFF to be disabled.

commit b280a97d1caf6fe1d38b51ebb31219391f5ad1a0 upstream.

Fixes logic bug that software flow control cannot be disabled, because
serial_omap_configure_xonxoff() is not called if both IXON and IXOFF bits
are cleared.

Signed-off-by: Nick Pelly <npelly@google.com>
Acked-by: Govindraj.R <govindraj.raja@ti.com>
Tested-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/omap-serial.c