linux/drivers/media/platform/rockchip/rga
Mauro Carvalho Chehab 0314339a0a media: rockchip/rga: use pm_runtime_resume_and_get()
Commit dd8088d5a8 ("PM: runtime: Add pm_runtime_resume_and_get to deal with usage counter")
added pm_runtime_resume_and_get() in order to automatically handle
dev->power.usage_count decrement on errors.

Use the new API, in order to cleanup the error check logic.

Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-05-19 09:51:42 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
rga-buf.c media: rockchip/rga: use pm_runtime_resume_and_get() 2021-05-19 09:51:42 +02:00
rga-hw.c media: rockchip: rga: Only set output CSC mode for RGB input 2020-07-04 12:44:59 +02:00
rga-hw.h media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic 2020-07-04 12:44:42 +02:00
rga.c media: rockchip/rga: use pm_runtime_resume_and_get() 2021-05-19 09:51:42 +02:00
rga.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00