mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 08:17:46 +00:00
[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>
This commit is contained in:
parent
0ff4e419dc
commit
697cca21b0
1 changed files with 1 additions and 1 deletions
|
@ -2252,7 +2252,7 @@ static int isp_probe(struct platform_device *pdev)
|
|||
|
||||
ret = dma_coerce_mask_and_coherent(isp->dev, DMA_BIT_MASK(32));
|
||||
if (ret)
|
||||
return ret;
|
||||
goto error;
|
||||
|
||||
platform_set_drvdata(pdev, isp);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue