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)
commit193b40c8258f781d8dc395909b2971472aad6796
tree316f25621215ac53defbbcf615b78398839523fa
parentef0eebc05130b0d22b0ea65c0cd014ee16fc89c7
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