aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-16 08:21:47 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 08:09:14 -0400
commit7583a213ec3bde3082547ee37ad96214513bc1cb (patch)
treef70ceb258fa895d2cc5aeea8ef4f3d790ce30d04 /include
parent1f08c1125ed1c9a6ca9bb195a56fe340b2134018 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/wm831x/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/wm831x/core.h b/include/linux/mfd/wm831x/core.h
index fb3e84f92e90..272f7fb5f8b8 100644
--- a/include/linux/mfd/wm831x/core.h
+++ b/include/linux/mfd/wm831x/core.h
@@ -385,6 +385,7 @@ struct wm831x {
385 385
386 /* Used by the interrupt controller code to post writes */ 386 /* Used by the interrupt controller code to post writes */
387 int gpio_update[WM831X_NUM_GPIO_REGS]; 387 int gpio_update[WM831X_NUM_GPIO_REGS];
388 bool gpio_level[WM831X_NUM_GPIO_REGS];
388 389
389 struct mutex auxadc_lock; 390 struct mutex auxadc_lock;
390 struct list_head auxadc_pending; 391 struct list_head auxadc_pending;