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

Greg KH gregkh at linuxfoundation.org
Wed Mar 2 09:32:56 PST 2016

On Wed, Mar 02, 2016 at 10:34:43AM +0100, Manuel Lauss 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.


This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.


More information about the linux-pcmcia mailing list