linux/drivers/gpio
Ben Dooks 272df502bc gpio/pca953x: fix error handling path in probe() call
If the device fails to respond, then the error path tries to remove an
interrupt that never got registered, which causes an backtrace from the
interrupt handling code.

Fix this by ensuring that the cleanup path has two labels and use the
correct path as needed.

fixes the following error:

WARNING: at kernel/irq/manage.c:908 __free_irq+0x80/0x160()
Trying to free already-free IRQ 0

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-03-30 21:28:12 -06:00
..
74x164.c gpio: Use __devexit at necessary places 2011-03-12 02:14:48 -07:00
Kconfig gpio: ab8500: Mark broken 2011-03-29 14:50:42 +02:00
Makefile gpio: driver for 42 AB8500 GPIO pins 2011-03-28 08:47:17 +02:00
ab8500-gpio.c gpio: driver for 42 AB8500 GPIO pins 2011-03-28 08:47:17 +02:00
adp5520-gpio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
adp5588-gpio.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
basic_mmio_gpio.c gpio: add driver for basic memory-mapped GPIO controllers 2010-10-27 18:03:06 -07:00
bt8xxgpio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cs5535-gpio.c gpio/cs5535-gpio: Fix section mismatch 2011-03-17 12:52:05 -06:00
gpiolib.c arm/gpio: Remove three copies of broken and racy debug code 2011-03-25 00:02:51 +01:00
it8761e_gpio.c drivers/gpio/it8761e_gpio: check return value of gpiochip_remove() 2010-05-27 09:12:42 -07:00
janz-ttl.c mfd: mfd_cell is now implicitly available to janz drivers 2011-03-23 10:41:54 +01:00
langwell_gpio.c gpio/langwell: Clear edge bit before handling 2011-03-17 23:07:44 -06:00
max730x.c gpio: max730x: make pullups configurable via platformdata 2010-08-11 08:59:08 -07:00
max732x.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
max7300.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
max7301.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mc33880.c gpio: Use __devexit at necessary places 2011-03-12 02:14:48 -07:00
mcp23s08.c gpio/mcp23s08: support mcp23s17 variant 2011-03-12 01:26:34 -07:00
ml_ioh_gpio.c gpio: add MODULE_DEVICE_TABLE 2011-03-13 15:35:59 -07:00
pca953x.c gpio/pca953x: fix error handling path in probe() call 2011-03-30 21:28:12 -06:00
pcf857x.c pcf857x: support working w/o platform data 2010-08-11 08:59:08 -07:00
pch_gpio.c gpio: add MODULE_DEVICE_TABLE 2011-03-13 15:35:59 -07:00
pl061.c gpio: Fold irq_set_chip/irq_set_handler to irq_set_chip_and_handler 2011-03-25 00:02:52 +01:00
rdc321x-gpio.c rdc321x-southbridge: Use mfd_data instead of driver_data 2011-03-23 10:41:57 +01:00
sch_gpio.c gpio: Add Tunnel Creek support to sch_gpio 2011-03-23 10:42:08 +01:00
stmpe-gpio.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
sx150x.c gpio: Fold irq_set_chip/irq_set_handler to irq_set_chip_and_handler 2011-03-25 00:02:52 +01:00
tc3589x-gpio.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
timbgpio.c Merge branch 'irq-cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-03-25 20:24:05 -07:00
twl4030-gpio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ucb1400_gpio.c mfd/gpio: add a GPIO interface to the UCB1400 MFD chip driver via gpiolib 2009-09-23 07:39:48 -07:00
vr41xx_giu.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
vx855_gpio.c gpio: Add VIA VX855 GPIO driver 2010-10-29 00:29:51 +02:00
wm831x-gpio.c gpiolib: Implement set_debounce for WM831x GPIOs 2010-08-12 11:27:57 +02:00
wm8350-gpiolib.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wm8994-gpio.c gpiolib: Add WM8958 support to the WM8994 driver 2010-11-26 15:16:19 +00:00
xilinx_gpio.c of: GPIO: Fix OF probing on little-endian systems 2010-09-29 15:28:08 +09:00