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

From: Sylwester Nawrocki
Date: Mon May 25 2020 - 04:40:19 EST


On 5/24/20 05:34, 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.

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

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