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)
commit1fe8aa8803536b8030375525a07a152ba8f15363
tree6aafac17cc4dec662dc3d5506499a428bd770142
parent01d70bb37ccb74a1b5c9e3e08c9a69eacc8d84f4
SERIAL: omap: don't read back LCR/MCR/EFR

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