summaryrefslogtreecommitdiffstats
path: root/sound/oss
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-15 23:48:32 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 12:50:42 +0100
commit0b4634fce1f3f7028421630260d54093276db490 (patch)
tree0925911860ea11673590846fffa55c1cd2d43fd7 /sound/oss
parentbacklight: Fix backlight limiting on spitz/corgi devices (diff)
downloadlinux-0b4634fce1f3f7028421630260d54093276db490.tar.xz
linux-0b4634fce1f3f7028421630260d54093276db490.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions