• Russell King's avatar
    SERIAL: omap: simplify · 18f360f8
    Russell King authored
    We have the sequence:
    	- LCR mode B
    	- write EFR with ECB clear
    	- LCR mode normal
    	- if s/w flow
    		- LCR mode B
    		- write EFR with ECB clear
    		...
    		- LCR mode B
    		- write EFR with ECB clear
    		- LCR mode normal
    
    This can be simplified to:
    	- if s/w flow
    		- LCR mode B
    		- write EFR with ECB clear
    		...
    	- LCR mode B
    	- write EFR with ECB clear
    	- LCR mode normal
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    18f360f8
omap-serial.c 41.6 KB