[PATCH] pcmcia: db1xxx: use correct irq_to_gpio helper

Manuel Lauss manuel.lauss at gmail.com
Tue Mar 1 22:50:28 PST 2016

 Hi Arnd,

On Tue, Mar 1, 2016 at 11:12 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> After the removal of asm/gpio.h and asm/mach-au1x00/gpio.h, the db1xxx_ss
> pcmcia driver picked up the wrong irq_to_gpio function from the generic
> headers.
> This restores the old __au_irq_to_gpio() implementation, but keeps
> it local to the only file that uses it.
> It would be nicer to just pass the gpio number from platform code,
> but restoring the previous implementation seems safer.

Give me a few hours and I'll fix this driver for good.

> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Cc: stable at vger.kernel.org # v4.3
> Fixes: 832f5dacfa0b ("MIPS: Remove all the uses of custom gpio.h")
> ---
> I think this is now the last holdout of the irq_to_gpio function,
> and it's been broken for a while. Maybe Ralf can queue it up through
> the MIPS tree along with the other fix for irq_to_gpio?

It's not broken though..  this driver on current linus-git works fine!

Thank you,

More information about the linux-pcmcia mailing list