On 11/29/26 8:26 AM, Arina Kharlamova via B4 Relay wrote:
> From: Arina Kharlamova <[email protected]>
> 
> detect_reg() jumps to the out label when pm_runtime_resume_and_get()
> fails and then calls pm_runtime_put(). The failed call did not take a
> usage count, so this drops a reference owned by someone else, or warns
> about an underflow.
> 
> Only read the status register and drop the reference when the resume
> succeeded.
> 
> Fixes: 81aa83419706 ("drm/msm/hdmi: switch to pm_runtime_resume_and_get()")
> Signed-off-by: Arina Kharlamova <[email protected]>
> ---

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad

Reply via email to