Commit 7e776e21 authored by Anjelique Melendez's avatar Anjelique Melendez Committed by Lee Jones
Browse files

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: 6ab1f766 ("leds: rgb: leds-qcom-lpg: Add support for PPG through single SDAM")
Fixes: 5e9ff626 ("leds: rgb: leds-qcom-lpg: Include support for PPG with dedicated LUT SDAM")
Signed-off-by: default avatarAnjelique Melendez <quic_amelende@quicinc.com>
Reviewed-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20240607005250.4047135-1-quic_amelende@quicinc.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent ab477b76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment