]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: intel: Add support for multiple GPIO chips sharing the interrupt
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 21 Oct 2015 10:08:43 +0000 (13:08 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 27 Oct 2015 12:27:49 +0000 (13:27 +0100)
commit575bcae0288ccfb0e7af4ec591f8f00d2b0f72f2
tree316f25621215ac53defbbcf615b78398839523fa
parentdcd05fd61f0ee3ee3fac070eda0019a57d1b8906
pinctrl: intel: Add support for multiple GPIO chips sharing the interrupt

On Intel Broxton the GPIO hardware consists of several chips that all share
the parent interrupt. It is not possible to handle this by setting chained
handler for each chip (as they will overwrite each other).

To overcome this we need to request the interrupt using devm_request_irq()
and pass IRQF_SHARED with the flags.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-intel.c