[PATCH] GPIO: sa1100: implement proper gpiolib gpio_to_irq conversion

Linus Walleij linus.walleij at linaro.org
Sun Dec 18 18:17:01 EST 2011


On Sun, Dec 18, 2011 at 7:24 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:

> From: Russell King <rmk+kernel at arm.linux.org.uk>
>
> The existing gpio_to_irq() implementation on sa1100 only translates
> validly for internal GPIOs.  Since this sub-arch enables GPIOLIB
> support, this results in buggy translations for non-internal GPIOs.
>
> Get rid of the private gpio_to_irq() implementation, replacing it
> with the .to_irq method in the sa1100 gpio chip instead.
>
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

Thanks Russell!
Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list