summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/tegra/dc/dc.c2
-rw-r--r--drivers/video/tegra/dc/dsi.c5
2 files changed, 1 insertions, 6 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index fbdf82d..81e88bd 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -1413,7 +1413,7 @@ void tegra_dc_setup_clk(struct tegra_dc *dc, struct clk *clk)
}
}
- rate = dc->mode.pclk;
+ rate = dc->mode.pclk * 2;
if (rate != clk_get_rate(base_clk))
clk_set_rate(base_clk, rate);
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c
index 213564b..85a03f5 100644
--- a/drivers/video/tegra/dc/dsi.c
+++ b/drivers/video/tegra/dc/dsi.c
@@ -947,11 +947,6 @@ static void tegra_dsi_set_dsi_clk(struct tegra_dc *dc,
if (rm != 0)
clk -= rm;
- clk *= 2; /*
- * Value for PLLD routine is required to be twice as
- * the desired clock rate
- */
-
dc->mode.pclk = clk*1000;
tegra_dc_setup_clk(dc, dsi->dsi_clk);
if (dsi->clk_ref == true)