Skip to content
/ linux Public

Commit a489f1f

Browse files
barni2000Sasha Levin
authored andcommitted
backlight: qcom-wled: Change PM8950 WLED configurations
[ Upstream commit 83333aa ] PMI8950 WLED needs same configurations as PMI8994 WLED. Fixes: 10258bf ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 82f2eaa commit a489f1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/video/backlight/qcom-wled.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,8 @@ static int wled_configure(struct wled *wled)
14551455
break;
14561456

14571457
case 4:
1458-
if (of_device_is_compatible(dev->of_node, "qcom,pmi8994-wled")) {
1458+
if (of_device_is_compatible(dev->of_node, "qcom,pmi8950-wled") ||
1459+
of_device_is_compatible(dev->of_node, "qcom,pmi8994-wled")) {
14591460
u32_opts = pmi8994_wled_opts;
14601461
size = ARRAY_SIZE(pmi8994_wled_opts);
14611462
} else {

0 commit comments

Comments
 (0)