android_kernel_xiaomi_sm8350/drivers/leds
Simon Guinot f539dfedbd 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>
2010-09-19 22:43:42 -04:00
..
dell-led.c
Kconfig
led-class.c
led-core.c
led-triggers.c
leds-88pm860x.c
leds-adp5520.c
leds-alix2.c
leds-ams-delta.c
leds-atmel-pwm.c
leds-bd2802.c leds: Remove owner field from attribute initialization in bd2802 driver 2010-08-05 13:53:35 -07:00
leds-clevo-mail.c
leds-cobalt-qube.c
leds-cobalt-raq.c
leds-da903x.c
leds-dac124s085.c
leds-fsg.c
leds-gpio.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
leds-h1940.c
leds-hp6xx.c
leds-locomo.c
leds-lp3944.c
leds-lt3593.c
leds-mc13783.c
leds-net48xx.c
leds-net5501.c
leds-ns2.c leds: leds-ns2: fix locking 2010-09-19 22:43:42 -04:00
leds-pca955x.c
leds-pca9532.c
leds-pwm.c
leds-rb532.c
leds-regulator.c
leds-s3c24xx.c
leds-ss4200.c
leds-sunfire.c
leds-wm831x-status.c
leds-wm8350.c
leds-wrap.c
leds.h
ledtrig-backlight.c
ledtrig-default-on.c
ledtrig-gpio.c
ledtrig-heartbeat.c
ledtrig-ide-disk.c
ledtrig-timer.c
Makefile