diff options
author | 2013-01-28 06:00:59 -0800 | |
---|---|---|
committer | 2013-04-01 11:04:50 -0700 | |
commit | c971ff185f6443e834686f140ba6d6e341ced600 (patch) | |
tree | fef36e139acb29b2797c94861ee763817440b8dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | leds: lp55xx: fix the sysfs read operation (diff) | |
download | linux-dev-c971ff185f6443e834686f140ba6d6e341ced600.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions