]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
leds: Fix leds_list_lock locking issues
authorRichard Purdie <rpurdie@rpsys.net>
Mon, 31 Dec 2007 23:09:44 +0000 (23:09 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Mon, 31 Dec 2007 23:09:44 +0000 (23:09 +0000)
commit72f8da329e07ad8a72c1f0e96b8955cfeb7c7329
tree7440f70caf2fb70e987f814cebcdf233a17b425c
parente697789d64f8748cb219d7f5c413c512953802cc
leds: Fix leds_list_lock locking issues

Covert leds_list_lock to a rw_sempahore to match previous LED trigger
locking fixes, fixing lock ordering.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/leds/led-class.c
drivers/leds/led-core.c
drivers/leds/led-triggers.c
drivers/leds/leds.h