[PATCH v2] pcmcia: db1xxx_ss: fix last irq_to_gpio user

Linus Walleij linus.walleij at linaro.org
Tue Mar 8 20:10:37 PST 2016


On Wed, Mar 2, 2016 at 4:34 PM, Manuel Lauss <manuel.lauss at gmail.com> wrote:

> remove the usage of removed irq_to_gpio() function.  On pre-DB1200
> boards, pass the actual carddetect GPIO number instead of the IRQ,
> because we need the gpio to actually test card status (inserted or
> not) and can get the irq number with gpio_to_irq() instead.
>
> Tested on DB1300 and DB1500, this patch fixes PCMCIA on the DB1500,
> which used irq_to_gpio().
>
>  stable at vger.kernel.org # v4.3
> Fixes: 832f5dacfa0b ("MIPS: Remove all the uses of custom gpio.h")
> Acked-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Manuel Lauss <manuel.lauss at gmail.com>
> ---
> v2: "Fixes" line, and CC stable, and added Arnd's ack.

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-pcmcia mailing list