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

- From: Daniel Thompson \<danielt@kernel.org\>
- Date: 2026-10-16 15:39:37 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2026/10/17755375
- Thread: https://ratatoskr.run/linux-arm-msm/2026/10/17746111/t.md

```text
On Thu, Oct 15, 2026 at 11:58:39AM +0300, 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: Daniel Thompson (RISCstar) <danielt@kernel.org>


Daniel.
```
