summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/tegra/dc/overlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/overlay.c b/drivers/video/tegra/dc/overlay.c
index 99aa4e8825e4..b76d87ced011 100644
--- a/drivers/video/tegra/dc/overlay.c
+++ b/drivers/video/tegra/dc/overlay.c
@@ -312,7 +312,7 @@ static void tegra_overlay_set_emc_freq(struct tegra_overlay_info *dev)
for (i = 0; i < dev->dc->n_windows; i++) {
if (dev->overlays[i].owner != NULL)
- emc_freq += dev->dc->mode.pclk*(i==1?2:1);
+ emc_freq += dev->dc->mode.pclk*(i==1?2:1)*2;
}
clk_set_rate(dev->dc->emc_clk, emc_freq);
}