<Marijn[m]>
alexeymin: The verdict is that I'm not fully sure myself either
<Marijn[m]>
On msm8956 for example I see a ton of "OVP START something something" in the logs as soon as the panel turns off, and I think a similar stacktrace shows up as soon as the panel is turned on again
<Marijn[m]>
But I'll have to re-check that. I can also test on an sdm630 device for good measure
<Mis012[m]>
that patch looks way too simple to be the culprit...
<alexeymin>
In my tests this warning showed only once during the first attempt to change brightness
<Marijn[m]>
Mis012: It's very well possible if the current limit is set too low in DT
<Mis012[m]>
Marijn[m]: current limit for the LED? would the pmic even know if it's too low?
<Mis012[m]>
eh, used a reply again
<Mis012[m]>
dammit
<Marijn[m]>
The PMIC would trigger an overcurrent error sooner, if it's set lower than what the WLEDs normally pull
<Marijn[m]>
But anyway, this is an overVoltage interrupt
<Marijn[m]>
So I may have been mistaken
<Marijn[m]>
That could mean a short on one of the unconnected LED strings
<Marijn[m]>
(IIRC that's how the autodetection works)
<Mis012[m]>
well, either that or someone shorted it just 'cause? :P
Daanct12 has joined #linux-msm
Danct12 has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Read error: Connection reset by peer]
Daaanct12 has joined #linux-msm
Daaanct12 has quit [Remote host closed the connection]
flto has quit [Quit: Leaving]
flto has joined #linux-msm
<alexeymin>
Marijn[m]: but the warning says only "Unbalanced enable for IRQ" and nothing more?
<alexeymin>
as far as I can see the brightness setting works fine :)
<Mis012[m]>
>Unbalanced enable for IRQ
<Mis012[m]>
that hardly sounds like a dts issue :P
<Mis012[m]>
bamse: sorry, who did you say has the qcs40x board again?
<Marijn[m]>
alexeymin: I think you just uncovered the quality of my short-term memory
<Marijn[m]>
In any case, the reason I remember it this way is because afaik the enable_irq is triggered from the handler for OVP
<Marijn[m]>
[ 500.078190] wled_ovp_work+0x14/0x20
<Marijn[m]>
[ 500.062686] enable_irq+0x48/0xa0
<Marijn[m]>
If I'm not mistaken, that second function should only be entered if the OVP IRQ has previously triggered (and this re-registers it, since it should be oneshot?)
<Marijn[m]>
(Disclaimer: I'm not looking at the code and haven't seen it for ~0.5 year)