]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8257d903abf2c721a61c3819af308d47e36c2096
tree5b178d5527cffdf65bd2d7d045b8b3d4da6d7855
parent240130b941db0965690be700c9f57759ac222b9a
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