[SERIAL] Fix status reporting with PL011 serial driver
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 19 Nov 2005 11:10:35 +0000 (11:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Nov 2005 11:10:35 +0000 (11:10 +0000)
The receiver status register reports latched error conditions, which
must be cleared by writing to it.  However, the data register reports
unlatched conditions which are associated with the current character.
Use the data register to interpret error status rather than the RSR.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found