Browse Source

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ä <ville.syrjala@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Ville Syrjälä 15 years ago
parent
commit
481dfa0eb9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/video/omap2/dss/dsi.c

+ 1 - 0
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;
 	}