WSL2-Linux-Kernel/drivers
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
..
accessibility
acpi
amba
ata
atm
auxdisplay
base
bcma
block
bluetooth
cdrom
char
clk
clocksource
connector
cpufreq
cpuidle
crypto
dca
devfreq
dio
dma
edac
eisa
firewire
firmware
gpio
gpu
hid
hv
hwmon hwmon: (max34440) Fix resetting temperature history 2012-02-24 08:06:15 -08:00
hwspinlock
i2c
ide
idle
ieee802154
infiniband
input
iommu
isdn
leds
lguest
macintosh
mca
md
media Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-02-24 12:32:51 -08:00
memstick
message
mfd
misc
mmc
mtd
net One InfiniBand/RDMA regression fix for 3.3: 2012-02-24 20:03:14 -08:00
nfc
nubus
of
oprofile
parisc
parport
pci
pcmcia pcmcia at91_cf: fix raw gpio number usage 2012-03-03 14:43:37 +01:00
pinctrl
platform
pnp
power
pps
ps3
ptp
rapidio
regulator
rtc
s390
sbus
scsi SCSI fixes on 20120224 2012-02-24 16:08:51 -08:00
sfi
sh
sn
spi
ssb
staging
target
tc
telephony
thermal
tty
uio
usb
uwb
vhost
video SuperH fixes for 3.3-rc5 2012-02-24 08:56:51 -08:00
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile