diff options
| author | Barnabás Czémán <barnabas.czeman@mainlining.org> | 2026-01-16 10:07:36 +0300 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-02-04 13:26:03 +0300 |
| commit | 83333aa97441ba7ce32b91e8a007c72d316a1c67 (patch) | |
| tree | 9d186e7381becb6d02793810438a29fbe6bcf747 | |
| parent | b2df6cf10d5242bfef2cc957d83738ccb560ed9f (diff) | |
| download | linux-83333aa97441ba7ce32b91e8a007c72d316a1c67.tar.xz | |
backlight: qcom-wled: Change PM8950 WLED configurations
PMI8950 WLED needs same configurations as PMI8994 WLED.
Fixes: 10258bf4534b ("backlight: qcom-wled: Add PMI8950 compatible")
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Link: https://patch.msgid.link/20260116-pmi8950-wled-v3-4-e6c93de84079@mainlining.org
Signed-off-by: Lee Jones <lee@kernel.org>
| -rw-r--r-- | drivers/video/backlight/qcom-wled.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c index 5decbd39b789..8054e4787725 100644 --- a/drivers/video/backlight/qcom-wled.c +++ b/drivers/video/backlight/qcom-wled.c @@ -1455,7 +1455,8 @@ static int wled_configure(struct wled *wled) break; case 4: - if (of_device_is_compatible(dev->of_node, "qcom,pmi8994-wled")) { + if (of_device_is_compatible(dev->of_node, "qcom,pmi8950-wled") || + of_device_is_compatible(dev->of_node, "qcom,pmi8994-wled")) { u32_opts = pmi8994_wled_opts; size = ARRAY_SIZE(pmi8994_wled_opts); } else { |
