• Russell King's avatar
    SERIAL: omap: no need to re-read EFR · 511e74f3
    Russell King authored
    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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    511e74f3
omap-serial.c 40.5 KB