linux/drivers/media/platform/rockchip/rga
Qiushi Wu 4e954d4dea media: rockchip/rga: Fix a reference count leak.
[ Upstream commit 884d638e08 ]

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: f7e7b48e6d ("[media] rockchip/rga: v4l2 m2m support")
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:57:33 +01:00
..
Makefile
rga-buf.c media: rockchip/rga: Fix a reference count leak. 2020-10-29 09:57:33 +01:00
rga-hw.c media: rockchip: rga: Only set output CSC mode for RGB input 2020-08-21 13:05:31 +02:00
rga-hw.h media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic 2020-08-21 13:05:30 +02:00
rga.c
rga.h