Re: [PATCH] media: exynos4-is: Fix runtime PM imbalance in fimc_is_probe

From: Sylwester Nawrocki
Date: Mon May 25 2020 - 04:38:13 EST

On 5/24/20 04:59, Dinghao Liu wrote:
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus a pairing decrement is needed on
the error handling path to keep the counter balanced. For all error
paths after pm_runtime_get_sync(), things are the same.

Signed-off-by: Dinghao Liu <dinghao.liu@xxxxxxxxxx>

Reviewed-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>