zephyr/drivers/led
Anuj Pathak 645beff897 drivers: led: lp5562: reuse engine already linked
Right now "lp5562_led_blink" unconditionally find and assign a engine
that is not executing at the moment. This is an issue, if 3 "led" are
already using an engine. That is a call to "lp5562_led_blink" could
terminate with error, even if the "led" is already using an engine.
This commit fixes this issue by adding a check to see if engine is
linked and reuse it, otherwise assign a free engine.

Signed-off-by: Anuj Pathak <anuj@croxel.com>
2024-09-04 21:27:53 +02:00
..
CMakeLists.txt
Kconfig
Kconfig.gpio
Kconfig.ht16k33
Kconfig.is31fl3194
Kconfig.is31fl3216a
Kconfig.is31fl3733
Kconfig.lp50xx
Kconfig.lp3943
Kconfig.lp5562
Kconfig.lp5569
Kconfig.ncp5623
Kconfig.npm1300
Kconfig.pca9633
Kconfig.pwm
Kconfig.tlc59108
Kconfig.xec
ht16k33.c
is31fl3194.c
is31fl3216a.c
is31fl3733.c
led_context.h
led_gpio.c
led_handlers.c
led_mchp_xec.c
led_npm1300.c
led_pwm.c
led_shell.c
lp50xx.c
lp3943.c
lp5562.c drivers: led: lp5562: reuse engine already linked 2024-09-04 21:27:53 +02:00
lp5569.c drivers: led: lp5569: run clang-format 2024-08-23 15:49:43 +01:00
ncp5623.c
pca9633.c
tlc59108.c