Re: [PATCH] media: rockchip/rga: Fix a reference count leak.

2020-06-18 Thread Heiko Stübner
Am Sonntag, 14. Juni 2020, 01:13:49 CEST schrieb wu000...@umn.edu: > From: Qiushi Wu > > pm_runtime_get_sync() increments the runtime PM usage counter even > when it returns an error code. Thus call pm_runtime_put_noidle() > if pm_runtime_get_sync() fails. > > Fixes: f7e7b48e6d79 ("[media] rockc

[PATCH] media: rockchip/rga: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: f7e7b48e6d79 ("[media] rockchip/rga: v4l2 m2m support") Signed-off-by: Qiushi Wu --- drivers/media/platform