1
linux/drivers/leds
Dmitry Eremin-Solenikov 0b4634fce1 leds-gpio: fix possible crash on OF device unbinding
If there are leds present in the OF tree, but the GPIOs for (some) of
them are unavailable, led_data doesn't get populated with correct
devices. Then, on device unbinding, one can crash the kernel.

Workaround this by setting led->gpio to invalid value early.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 11:50:42 +00:00
..
Kconfig leds: Fix indentation in LEDS_LP3944 Kconfig entry 2009-09-07 14:38:04 +01:00
led-class.c
led-core.c
led-triggers.c
leds-alix2.c
leds-ams-delta.c
leds-atmel-pwm.c
leds-bd2802.c
leds-clevo-mail.c Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds 2009-09-26 10:50:47 -07:00
leds-cobalt-qube.c leds: Fix LED names 2009-09-07 14:37:27 +01:00
leds-cobalt-raq.c leds: Fix LED names 2009-09-07 14:37:27 +01:00
leds-da903x.c
leds-dac124s085.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
leds-fsg.c
leds-gpio.c leds-gpio: fix possible crash on OF device unbinding 2009-11-16 11:50:42 +00:00
leds-h1940.c
leds-hp6xx.c
leds-locomo.c
leds-lp3944.c
leds-net48xx.c
leds-pca955x.c
leds-pca9532.c leds: leds-pca9532 - Drop unused module parameters 2009-10-04 22:53:43 +02:00
leds-pwm.c
leds-rb532.c
leds-s3c24xx.c
leds-sunfire.c
leds-wm831x-status.c leds: Add WM831x status LED driver 2009-09-07 14:33:33 +01:00
leds-wm8350.c
leds-wrap.c
leds.h
ledtrig-backlight.c
ledtrig-default-on.c
ledtrig-gpio.c leds: fix coding style in worker thread code for ledtrig-gpio. 2009-09-07 14:33:33 +01:00
ledtrig-heartbeat.c
ledtrig-ide-disk.c
ledtrig-timer.c
Makefile leds: Add WM831x status LED driver 2009-09-07 14:33:33 +01:00