memory: tegra30-mc: Fix IRQ handler.
authorTuomas Tynkkynen <ttynkkynen@nvidia.com>
Tue, 11 Jun 2013 10:11:19 +0000 (13:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 23:46:06 +0000 (16:46 -0700)
commit36dd68319c7b56a76ed450b0e470067b5d74b9b2
treea52728d996ead41a45953a3c6b585b8cdc32a85b
parentd777f98bfa44e5a2748603276e9e9fb6ab999079
memory: tegra30-mc: Fix IRQ handler.

In Tegra30 any memory controller interrupt would cause an infinite loop in the
IRQ handler. Additionally, a garbage pointer was used to read the MC
status registers, which causes wrong values to be printed if a MC error
occurred.

Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/memory/tegra30-mc.c