git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4a9058
)
leds: leds-ns2: fix locking
author
Simon Guinot
<sguinot@lacie.com>
Sun, 19 Sep 2010 13:30:59 +0000
(15:30 +0200)
committer
Nicolas Pitre
<nico@fluxnic.net>
Mon, 20 Sep 2010 02:43:42 +0000
(22:43 -0400)
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>
No differences found