SERIAL: omap: no need to re-read EFR
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 5 Oct 2012 14:13:56 +0000 (15:13 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 4 Nov 2012 11:26:00 +0000 (11:26 +0000)
commit511e74f3305e9fce1410f2205084fd67c50f81bc
treeed5d55a825ffc2006cd6824021b8c5c4f388ffa2
parentd864c03bfce2449703c7f0544dac3fbaed347239
SERIAL: omap: no need to re-read EFR

There's no need to re-read EFR after we've recently written it; the
register is a configuration register which doesn't change its value
without us writing to it.  The last value which was written to this
register was up->efr.

Removing this re-reading avoids the possibility that we end up with
up->efr having unintended bits set, which should only be temporarily
set when accessing the enhanced features.

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