diff options
author | Simon Guinot <sguinot@lacie.com> | 2010-09-19 15:30:59 +0200 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-09-19 22:43:42 -0400 |
commit | f539dfedbd169e5ed47912bb517c75976ab556f3 (patch) | |
tree | 2619d29fb7da50574b60a77cde5b140a256c9461 /ipc/shm.c | |
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>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions