diff options
author | Florian Vaussard | 2013-01-28 15:00:59 +0100 |
---|---|---|
committer | Bryan Wu | 2013-04-01 20:04:50 +0200 |
commit | c971ff185f6443e834686f140ba6d6e341ced600 (patch) | |
tree | fef36e139acb29b2797c94861ee763817440b8dd /Makefile | |
parent | leds: lp55xx: fix the sysfs read operation (diff) | |
download | kernel-qcow2-linux-c971ff185f6443e834686f140ba6d6e341ced600.tar.gz kernel-qcow2-linux-c971ff185f6443e834686f140ba6d6e341ced600.tar.xz kernel-qcow2-linux-c971ff185f6443e834686f140ba6d6e341ced600.zip |
leds: leds-pwm: Defer led_pwm_set() if PWM can sleep
Call to led_pwm_set() can happen inside atomic context, like triggers.
If the PWM call can sleep, defer using a worker.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions