mfd: arizona: Allow GPIO to be specified for IRQ line
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 24 Mar 2013 23:05:58 +0000 (23:05 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Apr 2013 13:20:58 +0000 (15:20 +0200)
commit3092f8050eccce8463afe771f0910634a433e24b
tree5b178d5527cffdf65bd2d7d045b8b3d4da6d7855
parentf8a0941f1bbdbaa68441142675986501b48da8f5
mfd: arizona: Allow GPIO to be specified for IRQ line

If a GPIO is specified for the chip IRQ line then request it. This
improves support for systems that do not put pins into input mode when
used as interrupts.

Also use this GPIO when the primary IRQ is in edge triggered mode to
detect if we have handled pending interrupts in order to improve
robustness.

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