projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b43883d
)
[media] omap3isp: Handle omap3isp_csi2_reset() errors
author
Sakari Ailus
<sakari.ailus@iki.fi>
Fri, 2 Mar 2012 16:03:01 +0000
(13:03 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 8 May 2012 16:51:46 +0000
(13:51 -0300)
Handle errors from omap3isp_csi2_reset() in omap3isp_csiphy_acquire().
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@redhat.com>
drivers/media/video/omap3isp/ispcsiphy.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/omap3isp/ispcsiphy.c
b/drivers/media/video/omap3isp/ispcsiphy.c
index 5be37ce7d0c26f1784b01958cf37a35786650f1e..348f67ebbbc9278e67dfe9dfcfc0a77f115db2cc 100644
(file)
--- a/
drivers/media/video/omap3isp/ispcsiphy.c
+++ b/
drivers/media/video/omap3isp/ispcsiphy.c
@@
-186,7
+186,9
@@
int omap3isp_csiphy_acquire(struct isp_csiphy *phy)
if (rval < 0)
goto done;
- omap3isp_csi2_reset(phy->csi2);
+ rval = omap3isp_csi2_reset(phy->csi2);
+ if (rval < 0)
+ goto done;
csiphy_dphy_config(phy);
csiphy_lanes_config(phy);