diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index e0e9ed9f1083..610c316bb358 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c @@ -771,11 +771,11 @@ static void tegra_dsi_set_dsi_clk(struct tegra_dc *dc, { u32 rm; - rm = clk % 100; + rm = clk % 1000; if (rm != 0) clk -= rm; - clk *= 2; /* Value for PLLD routine is required to be twice as */ + clk *= 2; /* Value for PLLD routine is required to be twice as */ /* the desired clock rate */ dc->mode.pclk = clk*1000; |