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 19:05:53 +0000 (11:05 -0800)
commit5ec3e763796bb778fb54663397c4df55967950cc
tree5b010a4175dfb5b5917a97fa26d2d3aa182166fc
parent10948410cdc954f2f7351699a7b7c1f51f7115ca
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