Re: [PATCH 1/9] backlight: qcom-wled: fix unbalanced OVP interrupt enable

From
Dmitry Baryshkov <hidden>
Date
2026-10-15 09:45:23
Also in
dri-devel, linux-arm-msm, linux-devicetree, lkml
Reply to
Konrad Dybcio, 2026-10-15
On Thu, Oct 15, 2026 at 11:11:58AM +0200, Konrad Dybcio wrote:
On 10/15/26 10:58 AM, Dmitry Baryshkov wrote:
quoted
If the bootloader leaves the WLED module enabled, the OVP interrupt is
left enabled at probe time. The first brightness update then schedules
wled_ovp_work(), which enables the interrupt for a second time and
triggers the "Unbalanced enable for IRQ" warning.

Track whether the driver has disabled the interrupt and only enable it
back in that case.

Fixes: 8663c188beea ("backlight: qcom-wled: Add auto string detection logic")
Assisted-by: LLM
Signed-off-by: Dmitry Baryshkov <redacted>
---
This was merged yesterday:

https://lore.kernel.org/lkml/20260921-qcom-wled-backlight-v4-0-bab8c7ef73cb@ixit.cz/ (local)
Nice!

-- 
With best wishes
Dmitry
Thread (22 messages) 22 messages, 5 authors, last reply 27d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help