0b4634fce1
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> |
||
---|---|---|
.. | ||
Kconfig | ||
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 | ||
leds-cobalt-qube.c | ||
leds-cobalt-raq.c | ||
leds-da903x.c | ||
leds-dac124s085.c | ||
leds-fsg.c | ||
leds-gpio.c | ||
leds-h1940.c | ||
leds-hp6xx.c | ||
leds-locomo.c | ||
leds-lp3944.c | ||
leds-net48xx.c | ||
leds-pca955x.c | ||
leds-pca9532.c | ||
leds-pwm.c | ||
leds-rb532.c | ||
leds-s3c24xx.c | ||
leds-sunfire.c | ||
leds-wm831x-status.c | ||
leds-wm8350.c | ||
leds-wrap.c | ||
leds.h | ||
ledtrig-backlight.c | ||
ledtrig-default-on.c | ||
ledtrig-gpio.c | ||
ledtrig-heartbeat.c | ||
ledtrig-ide-disk.c | ||
ledtrig-timer.c | ||
Makefile |