OSDN Git Service

SERIAL: omap: always set TCR
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 6 Oct 2012 08:12:44 +0000 (09:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 4 Nov 2012 12:29:33 +0000 (12:29 +0000)
commitc7d059cae31f328bbe2be6ab737226d338f22486
tree0e733e2418dc6fc4abf07064b8378b69776d75e5
parent18f360f865cffde44b112577fed1a6a0dd2740dc
SERIAL: omap: always set TCR

We always setup the TCR register in the software flow control path,
and when hardware flow control is enabled.  Remove this redundant
setup, and place it before we setup any hardware flow control.

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