Searched hist:f539dfedbd169e5ed47912bb517c75976ab556f3 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/leds/ |
H A D | leds-ns2.c | diff f539dfedbd169e5ed47912bb517c75976ab556f3 Sun Sep 19 08:30:59 CDT 2010 Simon Guinot <sguinot@lacie.com> leds: leds-ns2: fix locking
This patch replace all the lock functions with the irq safe variant. The ns2_led_{set,get}_mode() functions must be safe in all context.
For example, the trigger timer call led_set_brightness() in a softirq context.
Signed-off-by: Simon Guinot <sguinot@lacie.com> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
|