diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-18 17:02:02 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-20 17:27:14 +0200 |
commit | 1fe17a24e2fe0a9554d19a4249eb2d80050ecb8c (patch) | |
tree | 9368a59bbdf4a0ba33a8bed514076acd2c31ec86 /include/linux/mfd | |
parent | c48bf153f293894d232ee44f5bff99c523a06585 (diff) | |
download | linux-stable-1fe17a24e2fe0a9554d19a4249eb2d80050ecb8c.tar.gz linux-stable-1fe17a24e2fe0a9554d19a4249eb2d80050ecb8c.tar.bz2 linux-stable-1fe17a24e2fe0a9554d19a4249eb2d80050ecb8c.zip |
mfd: Emulate active low IRQs as well as active high IRQs for wm831x
As with the existing emulation this should not be used in production
systems but is useful for test purposes.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/wm831x/core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/wm831x/core.h b/include/linux/mfd/wm831x/core.h index 736191cc7e00..4a3b83a77614 100644 --- a/include/linux/mfd/wm831x/core.h +++ b/include/linux/mfd/wm831x/core.h @@ -384,7 +384,8 @@ struct wm831x { /* Used by the interrupt controller code to post writes */ int gpio_update[WM831X_NUM_GPIO_REGS]; - bool gpio_level[WM831X_NUM_GPIO_REGS]; + bool gpio_level_high[WM831X_NUM_GPIO_REGS]; + bool gpio_level_low[WM831X_NUM_GPIO_REGS]; struct mutex auxadc_lock; struct list_head auxadc_pending; |