Lennert Buytenhek a4ed06ad83 [PATCH] amba-pl010: clear error flags on rx error
The pl010 primecell documentation specifies that an error indicated via RSR
should be cleared by a write to ECR.  We didn't do this, which was causing
errors to be re-reported on every call to pl010_rx_chars().

Doing a write to ECR once we detect an error appears to prevent the ep93xx
console UART driver from going into a mode where it reports "ttyAM0: X
input overrun(s)" every couple of keystrokes.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:44 -08:00
..
2006-12-07 08:39:24 -08:00
2006-12-07 08:39:24 -08:00
2006-12-07 08:39:43 -08:00
2006-12-07 08:39:36 -08:00
2006-12-07 08:39:33 -08:00
2006-12-07 08:39:24 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:31 -08:00
2006-12-07 08:39:43 -08:00
2006-12-07 08:39:25 -08:00