]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 6 Oct 2011 14:44:01 +0000 (16:44 +0200)
commitae8c78caf156f885428cd3ab735122b02a4b4732
treedc16d6a9d4d7a5d33247b846fb8917f411f03c7f
parent1ab50c862862d7009ab328888cd5bf9747bb3c3d
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