Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
led: make led_set_brightness_sync() use led_set_brightness_nosleep()
Making led_set_brightness_sync() use led_set_brightness_nosleep() has 2 advantages: - works for LED controllers that do not provide brightness_set_blocking() - When the blocking callback is used, it uses the workqueue to update the LED state, removing the need for mutual exclusion between led_set_brightness_sync() and set_brightness_delayed(). Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
- Loading branch information