mfd: Initialise WM831x IRQ masks on chip even if interrupts not in use
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Apr 2010 15:14:17 +0000 (16:14 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 27 May 2010 23:37:38 +0000 (01:37 +0200)
commit0d7e0e399d7fcd5ddc3313a1aa2135fab3226d8f
tree718f31cc11941fa23fa065f28451336ea4943b1a
parent752599667048898b6969e06e4637f906b04ec752
mfd: Initialise WM831x IRQ masks on chip even if interrupts not in use

Ensure that the hardware has interrupts masked if we are not using
the interrupt controller on the WM831x by initialising the masks
before we check for the setup data required for the IRQ line. This
avoids signalling an unused IRQ line and improves the robustness
of checks that the IRQ is in use.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-irq.c