[media] omap3isp: Handle omap3isp_csi2_reset() errors

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>
This commit is contained in:
Sakari Ailus 2012-03-02 13:03:01 -03:00 committed by Mauro Carvalho Chehab
parent b43883d659
commit ca7f4a3821

View File

@ -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);