ARM: PL011: Ensure error flags are clear at startup
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 17:09:08 +0000 (17:09 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 5 Jan 2011 16:58:42 +0000 (16:58 +0000)
commit5063e2c567ee569cccfc01ebf80c898cb4e6833a
tree4468b5aa67354b8393a0980fc9dda12a226e5fd3
parente8a7ba86ff993311f8712e5b3bb2e3892e82df5f
ARM: PL011: Ensure error flags are clear at startup

The error flags weren't being cleared upon UART startup, which
can cause problems when we add DMA support.  It's good practice
to ensure that these flags are cleared anyway, so let's do so.

This was part of a larger patch from Linus Walleij.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/amba-pl011.c