Re: [PATCH 1/3] pinctrl: intel: Add support for multiple GPIO chips sharing the interrupt

From: Linus Walleij
Date: Tue Oct 27 2015 - 08:30:00 EST


On Wed, Oct 21, 2015 at 12:08 PM, Mika Westerberg
<mika.westerberg@xxxxxxxxxxxxxxx> wrote:

> 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@xxxxxxxxxxxxxxx>

Makes perfect sense. Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/