| commit | f539dfedbd169e5ed47912bb517c75976ab556f3 | [log] [tgz] |
|---|---|---|
| author | Simon Guinot <sguinot@lacie.com> | Sun Sep 19 15:30:59 2010 +0200 |
| committer | Nicolas Pitre <nico@fluxnic.net> | Sun Sep 19 22:43:42 2010 -0400 |
| tree | 2619d29fb7da50574b60a77cde5b140a256c9461 | |
| parent | c4a90588fa07ea47df7a67fd6cb03d6bc0f99634 [diff] |
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>