serial: PL011: move interrupt clearing
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 21 Mar 2012 19:15:18 +0000 (20:15 +0100)
committerLuis Henriques <luis.henriques@canonical.com>
Mon, 30 Apr 2012 18:15:10 +0000 (19:15 +0100)
commit381c1411f1bea0ee46e12bad0a1c42181ff97c47
tree3ec15320b233061db22ff0372e9e8fae22530a58
parenta6fc9886eac7991710c231994fc3def74036fb55
serial: PL011: move interrupt clearing

BugLink: http://bugs.launchpad.net/bugs/987337

commit c3d8b76f61586714cdc5f219ba45592a54caaa55 upstream.

Commit 360f748b204275229f8398cb2f9f53955db1503b
"serial: PL011: clear pending interrupts"
attempts to clear interrupts by writing to a
yet-unassigned memory address. This fixes the issue.

The breaking patch is marked for stable so should be
carried along with the other patch.

Cc: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Nicolas Pitre <nico@fluxnic.net>
Reported-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/tty/serial/amba-pl011.c