aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/omap3isp/isp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c
index e0096e07dbdc..d7aa513dcc8d 100644
--- a/drivers/media/platform/omap3isp/isp.c
+++ b/drivers/media/platform/omap3isp/isp.c
@@ -2102,8 +2102,10 @@ static int __devinit isp_probe(struct platform_device *pdev)
2102 if (ret < 0) 2102 if (ret < 0)
2103 goto error; 2103 goto error;
2104 2104
2105 if (__omap3isp_get(isp, false) == NULL) 2105 if (__omap3isp_get(isp, false) == NULL) {
2106 ret = -ENODEV;
2106 goto error; 2107 goto error;
2108 }
2107 2109
2108 ret = isp_reset(isp); 2110 ret = isp_reset(isp);
2109 if (ret < 0) 2111 if (ret < 0)