]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAP: DSS2: DSI: Print an error message if DSI clock calc fails
authorVille Syrjälä <ville.syrjala@nokia.com>
Thu, 22 Apr 2010 20:50:05 +0000 (22:50 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Thu, 5 Aug 2010 13:51:43 +0000 (16:51 +0300)
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>
drivers/video/omap2/dss/dsi.c

index 72b859cc3a5c6cb4eb1a320b250a7ecfa5d882ce..04d84d13488bf3406ef1b99a320f4a20bbb9d06a 100644 (file)
@@ -2967,8 +2967,10 @@ static int dsi_configure_dsi_clocks(struct omap_dss_device *dssdev)
        cinfo.regm3 = dssdev->phy.dsi.div.regm3;
        cinfo.regm4 = dssdev->phy.dsi.div.regm4;
        r = dsi_calc_clock_rates(&cinfo);
-       if (r)
+       if (r) {
+               DSSERR("Failed to calc dsi clocks\n");
                return r;
+       }
 
        r = dsi_pll_set_clock_div(&cinfo);
        if (r) {