alistair23-linux/drivers/pcmcia
Joachim Eastwood 80af9e6d7a pcmcia at91_cf: fix raw gpio number usage
This patches fixes two things:
* Use gpio_valid function to check gpio before usage
  This must be done after 63b4c29678 which uses -EINVAL for unused pin's
* Use gpio_to_irq to convert gpio's to irq
  The driver assumed a 1:1 mapping between gpio and irq numbers. This is no
  longer true after d0fbda9add.

Tested on custom RM9200 board with 8gb CF card.

Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2012-03-03 14:43:37 +01:00
..
at91_cf.c pcmcia at91_cf: fix raw gpio number usage 2012-03-03 14:43:37 +01:00
bcm63xx_pcmcia.c pcmcia: Convert to DEFINE_PCI_DEVICE_TABLE 2012-03-03 14:43:37 +01:00
bcm63xx_pcmcia.h
bfin_cf_pcmcia.c pcmcia: convert drivers/pcmcia/* to use module_platform_driver() 2012-03-03 14:43:37 +01:00
cardbus.c
cirrus.h
cistpl.c
cs.c
cs_internal.h
db1xxx_ss.c pcmcia: convert drivers/pcmcia/* to use module_platform_driver() 2012-03-03 14:43:37 +01:00
ds.c pcmcia: fix socket refcount decrementing on each resume 2012-02-08 19:03:51 -08:00
electra_cf.c pcmcia: convert drivers/pcmcia/* to use module_platform_driver() 2012-03-03 14:43:37 +01:00
i82092.c pcmcia: Convert to DEFINE_PCI_DEVICE_TABLE 2012-03-03 14:43:37 +01:00
i82092aa.h
i82365.c
i82365.h
Kconfig MIPS: Alchemy: Basic support for the DB1300 board. 2011-12-07 22:02:06 +00:00
m8xx_pcmcia.c pcmcia: convert drivers/pcmcia/* to use module_platform_driver() 2012-03-03 14:43:37 +01:00
m32r_cfc.c
m32r_cfc.h
m32r_pcc.c
m32r_pcc.h
Makefile MIPS: Alchemy: remove PB1000 support 2011-12-07 22:02:05 +00:00
o2micro.h
omap_cf.c
pcmcia_cis.c
pcmcia_resource.c
pd6729.c pcmcia: Convert to DEFINE_PCI_DEVICE_TABLE 2012-03-03 14:43:37 +01:00
pd6729.h
pxa2xx_balloon3.c
pxa2xx_base.c ARM: pxa: fix error handling in pxa2xx_drv_pcmcia_probe 2012-03-03 14:43:37 +01:00
pxa2xx_base.h
pxa2xx_cm_x2xx.c ARM: PXA: fix includes in pxa2xx_cm_x2xx PCMCIA driver 2011-11-05 22:26:46 +00:00
pxa2xx_cm_x255.c driver: pcmcia: replace IRQ_GPIO() with gpio_to_irq() 2011-11-15 19:09:56 +08:00
pxa2xx_cm_x270.c driver: pcmcia: replace IRQ_GPIO() with gpio_to_irq() 2011-11-15 19:09:56 +08:00
pxa2xx_colibri.c
pxa2xx_e740.c pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq() 2011-12-28 10:14:04 +00:00
pxa2xx_lubbock.c
pxa2xx_mainstone.c
pxa2xx_palmld.c pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq() 2011-12-28 10:14:04 +00:00
pxa2xx_palmtc.c pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq() 2011-12-28 10:14:04 +00:00
pxa2xx_palmtx.c
pxa2xx_sharpsl.c
pxa2xx_stargate2.c pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq() 2011-12-28 10:14:04 +00:00
pxa2xx_trizeps4.c pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq() 2011-12-28 10:14:04 +00:00
pxa2xx_viper.c pcmcia: convert drivers/pcmcia/* to use module_platform_driver() 2012-03-03 14:43:37 +01:00
pxa2xx_vpac270.c pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq() 2011-12-28 10:14:04 +00:00
ricoh.h
rsrc_iodyn.c
rsrc_mgr.c
rsrc_nonstatic.c
sa11xx_base.c
sa11xx_base.h
sa1100_assabet.c
sa1100_badge4.c
sa1100_cerf.c
sa1100_generic.c
sa1100_generic.h
sa1100_h3600.c
sa1100_jornada720.c
sa1100_nanoengine.c
sa1100_neponset.c
sa1100_shannon.c
sa1100_simpad.c
sa1111_generic.c PCMCIA: fix sa1111 oops on remove 2012-01-24 21:33:26 +00:00
sa1111_generic.h
soc_common.c pcmcia: irq: Remove IRQF_DISABLED 2012-03-03 14:43:36 +01:00
soc_common.h
socket_sysfs.c
tcic.c
tcic.h
ti113x.h
topic.h
vg468.h
vrc4171_card.c
vrc4173_cardu.c pcmcia: Convert to DEFINE_PCI_DEVICE_TABLE 2012-03-03 14:43:37 +01:00
vrc4173_cardu.h
xxs1500_ss.c pcmcia: convert drivers/pcmcia/* to use module_platform_driver() 2012-03-03 14:43:37 +01:00
yenta_socket.c pcmcia: Convert to DEFINE_PCI_DEVICE_TABLE 2012-03-03 14:43:37 +01:00
yenta_socket.h