SERIAL: omap: don't read back LCR/MCR/EFR
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 6 Oct 2012 08:04:03 +0000 (09:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 4 Nov 2012 12:29:32 +0000 (12:29 +0000)
There's really no reason to read back these registers while setting
the termios modes, provided we keep our cached copies up to date.
Remove these readbacks.

This has the benefit that we know that the EFR_ECB and MCR_TCRTLR
bits will always be clear, so we don't need to keep masking these
bits throughout the code.

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

Simple merge