diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2012-03-02 11:03:01 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-08 12:51:46 -0400 |
commit | ca7f4a3821aae53ab4ba5f7b14db9755b856d615 (patch) | |
tree | 1098784b4611112f871b1830f4a5152d18bf7968 /drivers | |
parent | b43883d659aa3f3aced5e400538b200341e910e0 (diff) |
[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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/omap3isp/ispcsiphy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/omap3isp/ispcsiphy.c b/drivers/media/video/omap3isp/ispcsiphy.c index 5be37ce7d0c2..348f67ebbbc9 100644 --- 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) | |||
186 | if (rval < 0) | 186 | if (rval < 0) |
187 | goto done; | 187 | goto done; |
188 | 188 | ||
189 | omap3isp_csi2_reset(phy->csi2); | 189 | rval = omap3isp_csi2_reset(phy->csi2); |
190 | if (rval < 0) | ||
191 | goto done; | ||
190 | 192 | ||
191 | csiphy_dphy_config(phy); | 193 | csiphy_dphy_config(phy); |
192 | csiphy_lanes_config(phy); | 194 | csiphy_lanes_config(phy); |