[PATCH v3 1/3] pinctrl: at91: allow to have disabled gpio bank
Linus Walleij
linus.walleij at linaro.org
Wed Jan 21 01:48:54 PST 2015
On Fri, Jan 16, 2015 at 4:31 PM, Ludovic Desroches
<ludovic.desroches at atmel.com> wrote:
> From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
>
> Today we expect that all the bank are enabled, and count the number of banks
> used by the pinctrl based on it instead of using the last bank id enabled.
>
> So switch to it, set the chained IRQ at runtime based on enabled banks
> and wait only the number of enabled gpio controllers at probe time.
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Signed-off-by: Ludovic Desroches <ludovic.desroches at atmel.com>
>
> Cc: <stable at vger.kernel.org> # 3.18
Patch applied for fixes with Nicolas' ACK.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list