mirror_ubuntu-kernels/drivers/media/platform/marvell-ccic
Mauro Carvalho Chehab e7c617cab7 media: marvel-ccic: fix some issues when getting pm_runtime
Calling pm_runtime_get_sync() is bad, since even when it
returns an error, pm_runtime_put*() should be called.
So, use instead pm_runtime_resume_and_get().

While here, ensure that the error condition will be checked
during clock enable an media open() calls.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-05-10 11:36:33 +02:00
..
cafe-driver.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
Kconfig media: marvell-ccic: provide a clock for the sensor 2019-06-24 11:33:49 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mcam-core.c media: marvel-ccic: fix some issues when getting pm_runtime 2021-05-10 11:36:33 +02:00
mcam-core.h media: marvell-ccic: Use v4l2_async_notifier_add_*_subdev 2021-02-06 08:44:00 +01:00
mmp-driver.c media: v4l2-async: Improve v4l2_async_notifier_add_*_subdev() API 2021-02-06 09:18:53 +01:00