# Re: \[PATCH 2/9\] backlight: qcom-wled: fix string detection brightness on WLED5

- From: Konrad Dybcio \<hidden\>
- Date: 2026-10-15 09:14:22 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2026/10/17746129
- Thread: https://ratatoskr.run/linux-arm-msm/2026/10/17746111/t.md

```text
On 10/15/26 10:58 AM, Dmitry Baryshkov wrote:
> The string detection sets the test brightness through
> wled4_set_brightness(). On WLED5 that writes to unrelated registers and
> the detection runs with whatever brightness has been programmed before.
> 
> Use the per-version callback and latch the new value on WLED5.
> 
> Fixes: 62a1d3f623ac ("backlight: qcom-wled: Add support for WLED5 peripheral that is present on PM8150L PMICs")
> Assisted-by: LLM
> Signed-off-by: Dmitry Baryshkov <redacted>
> ---

Reviewed-by: Konrad Dybcio <redacted>

Konrad
```
