Skip to content

Commit 83333aa

Browse files
barni2000lag-linaro
authored andcommitted
backlight: qcom-wled: Change PM8950 WLED configurations
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>
1 parent b2df6cf commit 83333aa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)