[PATCH 1/2] pinctrl: at91: allow disabled gpio controllers

Linus Walleij linus.walleij at linaro.org
Tue Dec 2 06:50:12 PST 2014


On Mon, Dec 1, 2014 at 2:59 PM, Nicolas Ferre <nicolas.ferre at atmel.com> wrote:
> Le 28/11/2014 17:49, Ludovic Desroches a écrit :
>> This patch allows to have gpio controller with status set to disabled.
>>
>> gpio_banks represents all the gpio banks available on the device whereas
>> nbanks represents the gpio banks used. Having a disabled gpio controller
>> involves that nbanks value is lower than gpio_banks and that some
>> pointers in the gpio_chips array are NULL. This patch deals with these
>> specific cases.
>>
>> Signed-off-by: Ludovic Desroches <ludovic.desroches at atmel.com>
>
> Yes:
>
> Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>
>
> Linus, is it too late for 3.18?

I think it's too late for any kernel as I think it's the wrong fix ;)

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list