linux/drivers/leds/rgb
Anjelique Melendez 7e776e2125 leds: rgb: leds-qcom-lpg: Add PPG check for setting/clearing PBS triggers
Currently, all LED LPG devices will call lpg_{set,clear}_pbs_trigger()
when setting brightness regardless of if they support PPG and have PBS
triggers. Check if device supports PPG before setting/clearing PBS
triggers.

Fixes: 6ab1f766a8 ("leds: rgb: leds-qcom-lpg: Add support for PPG through single SDAM")
Fixes: 5e9ff62686 ("leds: rgb: leds-qcom-lpg: Include support for PPG with dedicated LUT SDAM")
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20240607005250.4047135-1-quic_amelende@quicinc.com
Signed-off-by: Lee Jones <lee@kernel.org>
2024-06-26 16:56:08 +01:00
..
Kconfig leds: rgb: leds-ktd202x: Get device properties through fwnode to support ACPI 2024-05-31 12:55:44 +01:00
leds-group-multicolor.c leds: rgb: leds-group-multicolor: Allow LEDs to stay on in suspend 2024-03-07 08:48:08 +00:00
leds-ktd202x.c leds: rgb: leds-ktd202x: Initialize mutex earlier 2024-05-31 12:57:34 +01:00
leds-mt6370-rgb.c leds: mt6370: Remove unused field 'reg_cfgs' from 'struct mt6370_priv' 2024-05-02 18:12:27 +01:00
leds-ncp5623.c leds: ncp5623: Use common error handling code in ncp5623_probe() 2024-06-26 16:56:02 +01:00
leds-pwm-multicolor.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2023-12-20 16:07:04 +01:00
leds-qcom-lpg.c leds: rgb: leds-qcom-lpg: Add PPG check for setting/clearing PBS triggers 2024-06-26 16:56:08 +01:00
Makefile leds: Add NCP5623 multi-led driver 2024-03-07 08:48:18 +00:00