edac, highbank: Fix interrupt setup of mem and l2 controller
authorRobert Richter <robert.richter@linaro.org>
Thu, 10 Oct 2013 16:23:38 +0000 (18:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:15 +0000 (10:57 -0800)
commit57a5b135c2fd42bfcab2fa4b25395234038e4a16
tree8a472e2003550f4780cf6da247e0ecd1d1da5458
parent65007af07bb8c82207a7b2d2428773b28a3d614e
edac, highbank: Fix interrupt setup of mem and l2 controller

commit a72b8859fd3941cc1d2940d5c43026d2c6fb959e upstream.

Register and enable interrupts after the edac registration. Otherwise
incomming ecc error interrupts lead to crashes during device setup.

Fixing this in drivers for mc and l2.

Signed-off-by: Robert Richter <robert.richter@linaro.org>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Robert Richter <rric@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/edac/highbank_l2_edac.c
drivers/edac/highbank_mc_edac.c