serial: sirf: fix the issue that HW flow control doesn't work for BT
authorQipan Li <Qipan.Li@csr.com>
Thu, 14 May 2015 06:45:22 +0000 (06:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 19:50:41 +0000 (12:50 -0700)
commiteab192ae56fd52416af485e3d7ba2c6982200d71
tree85ba7fc14ea669f07498e437239b6a1457405232
parentc1b7ac6f4dab63e14ead6a715bc64d39f4a02b2b
serial: sirf: fix the issue that HW flow control doesn't work for BT

>From HW spec, when rxfifo's data is less than AFC_RX_THD(RX threshhold), RTS
signal is active. otherwise, RTS signal is inactive.

Crrently the RX threshhold is set as zero, so RTS has no chance to be
active. This patch replaces the default 0 by a positive number.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sirfsoc_uart.c