mfd: Simulate active high IRQs with wm831x
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 16 Sep 2011 12:21:47 +0000 (13:21 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:14 +0000 (14:09 +0200)
commit7583a213ec3bde3082547ee37ad96214513bc1cb
treef70ceb258fa895d2cc5aeea8ef4f3d790ce30d04
parent1f08c1125ed1c9a6ca9bb195a56fe340b2134018
mfd: Simulate active high IRQs with wm831x

In order to ease system integration provide a simulation of active high
IRQs on the GPIOs by polling the GPIO status when an IRQ is generated.

This isn't ideal on several fronts and will miss initially active IRQs in
the current implementation but it should work well for most cases.

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