Skip to content

Commit

Permalink
OMAP: DSS2: initialize dss clk sources properly
Browse files Browse the repository at this point in the history
Clk sources were not initialized, leading to kernel crash, or possibly to
strange behaviour if DSI was compiled in.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
  • Loading branch information
Tomi Valkeinen committed Mar 15, 2010
1 parent 5c1f96f commit ce619e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/video/omap2/dss/dss.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,9 @@ int dss_init(bool skip_init)
}
}

dss.dsi_clk_source = DSS_SRC_DSS1_ALWON_FCLK;
dss.dispc_clk_source = DSS_SRC_DSS1_ALWON_FCLK;

dss_save_context();

rev = dss_read_reg(DSS_REVISION);
Expand Down

0 comments on commit ce619e1

Please sign in to comment.