]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - drivers/media/platform/omap3isp/isp.c
media: omap3isp: Destroy CSI-2 phy mutexes in error and module removal
authorSakari Ailus <sakari.ailus@linux.intel.com>
Sat, 4 Mar 2017 15:07:08 +0000 (10:07 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 19:45:44 +0000 (15:45 -0400)
commit838a6c561899e7c595396321dede41bc04f1fb7e
treedc18ac670c6a8208601294299387b85e2c33d396
parent831f3494d2327ef581bdae934caa7b6c9bc34da8
media: omap3isp: Destroy CSI-2 phy mutexes in error and module removal

The CSI-2 phy driver did initialise mutexes in its init function but there
was no corresponding cleanup function destroying them. Fix that. Also
clean up ISP module initialisation a little.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/omap3isp/isp.c
drivers/media/platform/omap3isp/ispcsiphy.c
drivers/media/platform/omap3isp/ispcsiphy.h