diff options
author | Florian Vaussard <florian.vaussard@epfl.ch> | 2013-01-28 06:00:59 -0800 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-04-01 11:04:50 -0700 |
commit | c971ff185f6443e834686f140ba6d6e341ced600 (patch) | |
tree | fef36e139acb29b2797c94861ee763817440b8dd /samples/hw_breakpoint | |
parent | 24d321284745cbc593fba8115585329d48703704 (diff) | |
download | op-kernel-dev-c971ff185f6443e834686f140ba6d6e341ced600.zip op-kernel-dev-c971ff185f6443e834686f140ba6d6e341ced600.tar.gz |
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 'samples/hw_breakpoint')
0 files changed, 0 insertions, 0 deletions