summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMayuresh Janorkar <mayur@ti.com>2010-04-16 16:20:37 +0530
committerMayuresh Janorkar <mayur@ti.com>2010-04-16 16:20:37 +0530
commit12e5ffce7afb76cc85cab5109d45b04545333ead (patch)
tree16b59f97b71fc68f0e1230a8f5405e4f40d80d77
parent59e8d9f6486c4d4e71d5f1a6caf9f7ef1035cee4 (diff)
OMAP4: Adding missing DSI_PLL flag in dpi file
There was an error observed when DSI was disabled in menuconfig This patch would add the flag at the required place. This patch fixes that build error. Now kernel is building fine with and without DSI. Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
-rw-r--r--drivers/video/omap2/dss/dpi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c
index 4c5b6dd0636c..857e7194811f 100644
--- a/drivers/video/omap2/dss/dpi.c
+++ b/drivers/video/omap2/dss/dpi.c
@@ -171,7 +171,9 @@ static int dpi_set_mode(struct omap_dss_device *dssdev)
err2:
dss_select_clk_source_dsi(lcd_channel_ix, false, false);
err1:
+#ifdef CONFIG_OMAP2_DSS_USE_DSI_PLL
dsi_pll_uninit(lcd_channel_ix);
+#endif
err0:
dss_clk_disable(DSS_CLK_ICK | DSS_CLK_FCK1);
return r;