linux/drivers/pcmcia
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
..
Kconfig pcmcia: at91_cf: Use syscon to configure the MC/smc 2015-05-20 16:37:38 +02:00
Makefile Revert "pcmcia: add a new resource manager for non ISA systems" 2015-03-11 14:21:23 +01:00
at91_cf.c pcmcia: at91_cf: Use syscon to configure the MC/smc 2015-05-20 16:37:38 +02:00
bcm63xx_pcmcia.c pcmcia: remove DEFINE_PCI_DEVICE_TABLE usage 2014-07-18 16:58:07 -07:00
bcm63xx_pcmcia.h
bfin_cf_pcmcia.c gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00
cardbus.c pcmcia: Use pci_is_bridge() to simplify code 2014-05-27 14:58:24 -06:00
cirrus.h
cistpl.c pcmcia: do not break rsrc_nonstatic when handling anonymous cards 2015-06-16 07:29:39 +02:00
cs.c Char/Misc driver patches for 4.2-rc1 2015-06-26 14:51:15 -07:00
cs_internal.h pcmcia: correct types 2015-01-12 05:04:12 -08:00
db1xxx_ss.c pcmcia: db1xxx_ss: fix last irq_to_gpio user 2016-03-29 22:48:53 +02:00
ds.c pcmcia: use kstrdup() in pcmcia_device_query() 2015-10-05 04:47:09 +01:00
electra_cf.c drivers: pcmcia: electra_cf.c fix checkpatch error and warnings 2015-05-30 15:32:53 +02:00
i82092.c pcmcia: remove DEFINE_PCI_DEVICE_TABLE usage 2014-07-18 16:58:07 -07:00
i82092aa.h
i82365.c pcmcia: Remove typedef in structs and emum 2015-05-30 15:54:05 +02:00
i82365.h
m32r_cfc.c PCMCIA: Remove commented references to dead class_device_create_file() 2015-05-30 15:29:42 +02:00
m32r_cfc.h
m32r_pcc.c PCMCIA: Remove commented references to dead class_device_create_file() 2015-05-30 15:29:42 +02:00
m32r_pcc.h
o2micro.h
omap_cf.c pcmcia: Use setup_timer 2015-03-16 21:31:43 +01:00
pcmcia_cis.c pcmcia: Convert dev_printk to dev_<level> 2015-05-30 16:09:04 +02:00
pcmcia_resource.c pcmcia: Convert dev_printk to dev_<level> 2015-05-30 16:09:04 +02:00
pd6729.c pcmcia: Use setup_timer and mod_timer 2015-03-16 21:31:43 +01:00
pd6729.h
pxa2xx_balloon3.c
pxa2xx_base.c pcmcia: soc_common: remove skt_dev_info's clk pointer 2015-09-03 16:01:03 +01:00
pxa2xx_base.h
pxa2xx_cm_x2xx.c
pxa2xx_cm_x255.c
pxa2xx_cm_x270.c
pxa2xx_colibri.c
pxa2xx_e740.c
pxa2xx_hx4700.c
pxa2xx_mainstone.c
pxa2xx_palmld.c
pxa2xx_palmtc.c
pxa2xx_palmtx.c
pxa2xx_sharpsl.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
pxa2xx_stargate2.c
pxa2xx_trizeps4.c
pxa2xx_viper.c pcmcia: drop owner assignment from platform_drivers 2014-10-20 16:21:21 +02:00
pxa2xx_vpac270.c gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00
ricoh.h
rsrc_iodyn.c
rsrc_mgr.c pcmcia: correct types 2015-01-12 05:04:12 -08:00
rsrc_nonstatic.c pcmcia: Convert dev_printk to dev_<level> 2015-05-30 16:09:04 +02:00
sa11xx_base.c pcmcia: soc_common: remove skt_dev_info's clk pointer 2015-09-03 16:01:03 +01:00
sa11xx_base.h
sa1100_assabet.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1100_cerf.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1100_generic.c pcmcia: sa11x0: convert memory allocation to devm_* API 2015-07-08 11:29:56 +01:00
sa1100_generic.h
sa1100_h3600.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1100_nanoengine.c
sa1100_shannon.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1100_simpad.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1111_badge4.c pcmcia: sa1111: pass sa1111_dev to badge4-specific code 2014-11-07 11:24:01 -08:00
sa1111_generic.c pcmcia: sa1111: simplify clk handing in sa1111_pcmcia_add() 2015-09-03 16:00:44 +01:00
sa1111_generic.h pcmcia: sa1111: pass sa1111_dev to jornada720 code 2014-11-07 11:24:01 -08:00
sa1111_jornada720.c pcmcia: sa1111: pass sa1111_dev to jornada720 code 2014-11-07 11:24:01 -08:00
sa1111_lubbock.c
sa1111_neponset.c
soc_common.c pcmcia: Use setup_timer 2015-03-16 21:31:43 +01:00
soc_common.h pcmcia: soc_common: remove skt_dev_info's clk pointer 2015-09-03 16:01:03 +01:00
socket_sysfs.c
tcic.c pcmcia: drop owner assignment from platform_drivers 2014-10-20 16:21:21 +02:00
tcic.h
ti113x.h pcmcia: Convert dev_printk to dev_<level> 2015-05-30 16:09:04 +02:00
topic.h Disable write buffering on Toshiba ToPIC95 2015-06-13 23:40:21 +02:00
vg468.h
vrc4171_card.c pcmcia/vrc4171: Remove typedefs for enums and struct 2015-05-30 15:55:36 +02:00
vrc4173_cardu.c pcmcia: remove DEFINE_PCI_DEVICE_TABLE usage 2014-07-18 16:58:07 -07:00
vrc4173_cardu.h
xxs1500_ss.c drivers/pcmcia: include <module.h> for modular xxs1500_ss code 2015-06-16 14:12:25 -04:00
yenta_socket.c pcmcia: Fix resource leaks in yenta_probe() and _close() 2015-06-14 21:35:45 +02:00
yenta_socket.h