linux-brain/drivers/media/platform/marvell-ccic
Chuhong Yuan 8fe0119f5c media: marvell-ccic: Add missed v4l2_async_notifier_cleanup()
[ Upstream commit 4603a5b4a87ccd6fb90cbfa10195291cfcf6ba34 ]

mccic_register() forgets to cleanup the notifier in its error handler.
mccic_shutdown() also misses calling v4l2_async_notifier_cleanup().
Add the missed calls to fix them.

Fixes: 3eefe36cc0 ("media: marvell-ccic: use async notifier to get the sensor")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:16:08 +02: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
cafe-driver.c media: cafe-driver: mark an static var as such 2019-06-24 13:10:54 -04:00
mcam-core.c media: marvell-ccic: Add missed v4l2_async_notifier_cleanup() 2020-08-19 08:16:08 +02:00
mcam-core.h media: marvell-ccic: provide a clock for the sensor 2019-06-24 11:33:49 -04:00
mmp-driver.c media: marvell-ccic: mmp: add MODULE_DEVICE_TABLE 2019-07-25 06:27:14 -04:00