media: marvell-ccic: Add missed v4l2_async_notifier_cleanup()
authorChuhong Yuan <hslester96@gmail.com>
Wed, 3 Jun 2020 16:40:48 +0000 (18:40 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 23 Jun 2020 13:15:14 +0000 (15:15 +0200)
commit4603a5b4a87ccd6fb90cbfa10195291cfcf6ba34
tree1d141c8b8319e1c518ef92b704bb3f4ce19f5340
parent1e8d3bbcdda30973a10d34032401647fc4111747
media: marvell-ccic: Add missed v4l2_async_notifier_cleanup()

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: 3eefe36cc00c ("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>
drivers/media/platform/marvell-ccic/mcam-core.c