diff options
author | Ville Syrjälä <ville.syrjala@nokia.com> | 2010-04-22 16:50:05 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-08-05 09:51:43 -0400 |
commit | ebf0a3fef2240983fbc994f15d8c3d8a20102480 (patch) | |
tree | 9061ecd32f75a31b4f3f3b696954e9c99c83f330 /drivers/video | |
parent | 481dfa0eb915fb248c93ea37cd6e669b91ee9f8e (diff) |
OMAP: DSS2: DSI: Print an error message if DSI clock calc fails
Print an error message if dsi_calc_clock_rates() fails just like it's
done when dispc_calc_clock_rates() fails.
Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index 72b859cc3a5c..04d84d13488b 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c | |||
@@ -2967,8 +2967,10 @@ static int dsi_configure_dsi_clocks(struct omap_dss_device *dssdev) | |||
2967 | cinfo.regm3 = dssdev->phy.dsi.div.regm3; | 2967 | cinfo.regm3 = dssdev->phy.dsi.div.regm3; |
2968 | cinfo.regm4 = dssdev->phy.dsi.div.regm4; | 2968 | cinfo.regm4 = dssdev->phy.dsi.div.regm4; |
2969 | r = dsi_calc_clock_rates(&cinfo); | 2969 | r = dsi_calc_clock_rates(&cinfo); |
2970 | if (r) | 2970 | if (r) { |
2971 | DSSERR("Failed to calc dsi clocks\n"); | ||
2971 | return r; | 2972 | return r; |
2973 | } | ||
2972 | 2974 | ||
2973 | r = dsi_pll_set_clock_div(&cinfo); | 2975 | r = dsi_pll_set_clock_div(&cinfo); |
2974 | if (r) { | 2976 | if (r) { |