Skip to content

Commit

Permalink
[media] omap3isp: Handle omap3isp_csi2_reset() errors
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sakari Ailus authored and Mauro Carvalho Chehab committed May 8, 2012
1 parent b43883d commit ca7f4a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/media/video/omap3isp/ispcsiphy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ca7f4a3

Please sign in to comment.