1
0
Fork 0
alistair23-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 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
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 media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00
rga.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00