mfd: Acknowlege all WM831x IRQs before we handle them
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jul 2011 16:05:13 +0000 (17:05 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 31 Jul 2011 21:28:27 +0000 (23:28 +0200)
commit88c939770db375244b00ba92e901fa92677a7164
tree44295486ea66c6aee832a3602b600e777e5107fc
parentb1224cd113d4441edee4a58a1e2e428141247c0d
mfd: Acknowlege all WM831x IRQs before we handle them

Ensure that we never have a window where we've handled an interrupt (and
therefore need to be notified of new events) but haven't yet told the
interrupt controller that this is the case (so any new events will be
discarded).

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