diff options
| author | Anjelique Melendez <[email protected]> | 2024-06-06 17:52:50 -0700 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2024-06-26 16:56:08 +0100 |
| commit | 7e776e21255bf4c271e0df0a7d289a4963580e61 (patch) | |
| tree | 90fadec63e7c3ff0b9bc65decb005854538f2339 /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | ab477b766edd3bfb6321a6e3df4c790612613fae (diff) | |
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: 6ab1f766a80a ("leds: rgb: leds-qcom-lpg: Add support for PPG through single SDAM")
Fixes: 5e9ff626861a ("leds: rgb: leds-qcom-lpg: Include support for PPG with dedicated LUT SDAM")
Signed-off-by: Anjelique Melendez <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions