Commit 83333aa9 authored by Barnabás Czémán's avatar Barnabás Czémán Committed by Lee Jones
Browse files

backlight: qcom-wled: Change PM8950 WLED configurations



PMI8950 WLED needs same configurations as PMI8994 WLED.

Fixes: 10258bf4 ("backlight: qcom-wled: Add PMI8950 compatible")
Signed-off-by: default avatarBarnabás Czémán <barnabas.czeman@mainlining.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: default avatarDaniel Thompson (RISCstar) <danielt@kernel.org>
Link: https://patch.msgid.link/20260116-pmi8950-wled-v3-4-e6c93de84079@mainlining.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent b2df6cf1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 {