forked from Minki/linux
[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:
parent
b43883d659
commit
ca7f4a3821
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user