Re: [PATCH] media: iris: Fix runtime PM imbalance in iris_enable_power_domains()

From: Konrad Dybcio

Date: Mon Sep 21 2026 - 05:06:43 EST


On 9/17/26 11:57 AM, Wentao Liang wrote:
> pm_runtime_get_sync() leaves the runtime PM usage count of pd_dev
> incremented even when resuming the device fails, and
> iris_enable_power_domains() returns immediately in that case, so
> the reference is never dropped.
>
> Roll the usage count back with pm_runtime_put_noidle() on the error
> path.
>
> Fixes: bb8a95aa038e ("media: iris: implement power management")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Wentao Liang <vulab@xxxxxxxxxxx>
> ---

Already fixed in:

f87d7eda07fc ("media: qcom: iris: fix runtime PM reference leaks")

Konrad