Skip to content
Commit d23a22a7 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Bryan Wu
Browse files

leds: delay led_set_brightness if stopping soft-blink



Delay execution of led_set_brightness() if need to stop soft-blink
timer.

This allows led_set_brightness to be called in hard-irq context even if
soft-blink was activated on that LED.

Signed-off-by: default avatarFabio Baltieri <fabio.baltieri@gmail.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
parent 490dcee9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment