[media] omap3isp: Fix error handling in probe
authorSakari Ailus <sakari.ailus@iki.fi>
Wed, 25 Mar 2015 22:57:25 +0000 (19:57 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 19:37:17 +0000 (16:37 -0300)
commit697cca21b09ce4c641bce821b90e90b3e95d17f6
tree1a9d5bf5bb3bb880eab7748bd6482624b580d5f3
parent0ff4e419dc6a409a60dc492fbbc58288af78bed7
[media] omap3isp: Fix error handling in probe

The mutex was not destroyed correctly if dma_coerce_mask_and_coherent()
failed for some reason.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/omap3isp/isp.c