From: Ville Syrjälä Date: Thu, 22 Apr 2010 20:50:04 +0000 (+0200) Subject: OMAP: DSS2: DSI: Disable PCKFREE on error X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=481dfa0eb915fb248c93ea37cd6e669b91ee9f8e;p=linux-beck.git OMAP: DSS2: DSI: Disable PCKFREE on error Do not leave the free running pixel clock enabled if the DSI PLL reset times out. 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 613796b54f07..72b859cc3a5c 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c @@ -1100,6 +1100,7 @@ int dsi_pll_init(struct omap_dss_device *dssdev, bool enable_hsclk, if (wait_for_bit_change(DSI_PLL_STATUS, 0, 1) != 1) { DSSERR("PLL not coming out of reset.\n"); r = -ENODEV; + dispc_pck_free_enable(0); goto err1; }