diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-03-12 11:46:05 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-03-15 09:34:52 +0100 |
commit | ce619e1fb86d68f125e0e6d10a5484f67a6d97b3 (patch) | |
tree | 155c741ceb835eded05ec4fb43c688f58bd89bfe | |
parent | OMAP: DSS2: VRAM: Fix early_param for vram (diff) | |
download | linux-ce619e1fb86d68f125e0e6d10a5484f67a6d97b3.tar.xz linux-ce619e1fb86d68f125e0e6d10a5484f67a6d97b3.zip |
OMAP: DSS2: initialize dss clk sources properly
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>
-rw-r--r-- | drivers/video/omap2/dss/dss.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 8254a4232a53..54344184dd73 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c @@ -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); |