linux/arch/mips/alchemy/devboards
Manuel Lauss e34b6fcf9b pcmcia: db1xxx_ss: fix last irq_to_gpio user
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().

Fixes: 832f5dacfa ("MIPS: Remove all the uses of custom gpio.h")
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-pcmcia@lists.infradead.org
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Cc: stable@vger.kernel.org	# v4.3+
Patchwork: https://patchwork.linux-mips.org/patch/12747/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-03-29 22:48:53 +02:00
..
bcsr.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
db1xxx.c MIPS: Alchemy: Unify Devboard support. 2014-03-26 23:09:21 +01:00
db1000.c pcmcia: db1xxx_ss: fix last irq_to_gpio user 2016-03-29 22:48:53 +02:00
db1200.c mips: nand: make use of mtd_to_nand() where appropriate 2015-12-08 13:03:07 -08:00
db1300.c mips: nand: make use of mtd_to_nand() where appropriate 2015-12-08 13:03:07 -08:00
db1550.c pcmcia: db1xxx_ss: fix last irq_to_gpio user 2016-03-29 22:48:53 +02:00
Makefile MIPS: Alchemy: Unify Devboard support. 2014-03-26 23:09:21 +01:00
platform.c MIPS: Alchemy: devboards: sit and spin after poweroff 2014-09-22 13:35:46 +02:00
platform.h MIPS: Alchemy: use 36bit addresses for PCMCIA resources. 2010-02-27 12:53:43 +01:00
pm.c MIPS: Remove all the uses of custom gpio.h 2015-09-03 12:08:02 +02:00