summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-ns2.c
diff options
context:
space:
mode:
authorFlorian Vaussard <florian.vaussard@epfl.ch>2013-01-28 06:00:59 -0800
committerBryan Wu <cooloney@gmail.com>2013-04-01 11:04:50 -0700
commitc971ff185f6443e834686f140ba6d6e341ced600 (patch)
treefef36e139acb29b2797c94861ee763817440b8dd /drivers/leds/leds-ns2.c
parent24d321284745cbc593fba8115585329d48703704 (diff)
downloadop-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 'drivers/leds/leds-ns2.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud