From: Ville Syrjälä Date: Thu, 22 Apr 2010 20:50:05 +0000 (+0200) Subject: OMAP: DSS2: DSI: Print an error message if DSI clock calc fails X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ebf0a3fef2240983fbc994f15d8c3d8a20102480;p=linux-beck.git 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ä Signed-off-by: Tomi Valkeinen --- 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) 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) {