media: omap3isp: Fix missing unlock in isp_subdev_notifier_complete()
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 7 Apr 2021 14:37:33 +0000 (16:37 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 4 Aug 2021 12:43:50 +0000 (14:43 +0200)
commit0368e7d2cd84a90d0518753fac33795e13df553f
tree7735efd297888a7d1d5dda8e8fe88b76370e28cc
parente006558fa4737d6d123ec2c1a0f1a8a42f2199b3
media: omap3isp: Fix missing unlock in isp_subdev_notifier_complete()

Add the missing unlock before return from function
isp_subdev_notifier_complete() in the init error
handling case.

Fixes: ba689d933361 ("media: omap3isp: Acquire graph mutex for graph traversal")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/omap3isp/isp.c