[PATCH] media: exynos4-is: Fix runtime PM usage counter leak in fimc-isp
Krzysztof Kozlowski
krzk at kernel.org
Wed Sep 30 05:05:41 PDT 2026
On 30/09/2026 13:38, fengchenguang at kylinos.cn wrote:
> From: Chenguang Feng <fengchenguang at kylinos.cn>
>
> fimc_isp_subdev_s_power() increments the usage counter with
> pm_runtime_resume_and_get() and releases it if fimc_is_start_firmware()
> fails, but not when fimc_is_hw_initialize() fails further down: the
> function then returns with the counter still held, and the device can
> never runtime-suspend afterwards.
>
> Call pm_runtime_put() on the fimc_is_hw_initialize() error path as
> well, like the fimc_is_start_firmware() path already does.
>
> Fixes: 9a761e436843f ("[media] exynos4-is: Add Exynos4x12 FIMC-IS driver")
> Cc: stable at vger.kernel.org
> Signed-off-by: Chenguang Feng <fengchenguang at kylinos.cn>
> ---
How many separate patches are you planning to send? Why this cannot be a
patchset? Are we repeating now the recent half-spam of AI created "fixes"?
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list