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>
This commit is contained in:
parent
c48bf153f2
commit
1fe17a24e2
2 changed files with 21 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue