Commit ca7f4a38 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

[media] omap3isp: Handle omap3isp_csi2_reset() errors

Handle errors from omap3isp_csi2_reset() in omap3isp_csiphy_acquire().
Signed-off-by: default avatarSakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b43883d6
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment