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)
committerRobert Richter <rric@kernel.org>
Mon, 4 Nov 2013 21:43:18 +0000 (15:43 -0600)
commita72b8859fd3941cc1d2940d5c43026d2c6fb959e
treed2ef84f8fc228330808958e001a694810ce579be
parent959f58544b7f20c92d5eb43d1232c96c15c01bfb
edac, highbank: Fix interrupt setup of mem and l2 controller

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>
Cc: stable <stable@vger.kernel.org> # 3.6+
Signed-off-by: Robert Richter <rric@kernel.org>
drivers/edac/highbank_l2_edac.c
drivers/edac/highbank_mc_edac.c