ENGR00133590 UART: let user control HW flow control
authorZhang Jiejing <jiejing.zhang@freescale.com>
Mon, 13 Dec 2010 19:58:29 +0000 (13:58 -0600)
committerMatt Sealey <matt@genesi-usa.com>
Mon, 13 Dec 2010 19:58:29 +0000 (13:58 -0600)
commit850d7f76ced08e473e358944cbeeb061026df49a
tree1a1a73cd3cf9f6ac969631aef7cb718e2e3fea5c
parent713fef6d7517e10f1fe50bc633bf8b52144668e6
ENGR00133590 UART: let user control HW flow control

HW flow control should be enable/disable by userspace.
It can be set by tty option: options.c_cflag of  CRTSCTS
bit.

This bug is found by testing UART BT AR3001 chip,
this chip will wake up the chip by set RTS to high,
it needs frist disable HW flow control, set RTS,
then disable HW flow control.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
drivers/serial/mxc_uart.c