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>
This commit is contained in:
parent
1e8943dbae
commit
481dfa0eb9
|
@ -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) {
|
if (wait_for_bit_change(DSI_PLL_STATUS, 0, 1) != 1) {
|
||||||
DSSERR("PLL not coming out of reset.\n");
|
DSSERR("PLL not coming out of reset.\n");
|
||||||
r = -ENODEV;
|
r = -ENODEV;
|
||||||
|
dispc_pck_free_enable(0);
|
||||||
goto err1;
|
goto err1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue