summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Voltz <andy.voltz@timesys.com>2012-03-21 15:44:07 -0400
committerAndy Voltz <andy.voltz@timesys.com>2012-03-21 15:44:07 -0400
commit78c27779807685d4b3a2b2f71098bc92ec9912ee (patch)
tree5262dbb1b1aaf34cb1c171e3f57407dd19656119
parent45bb119a58a85b397f9c762b9037609cc94caef4 (diff)
Fixes IPU memory corruption to allow simultaneous dual display2.6.35-mx53-201203211544
-rw-r--r--drivers/mxc/ipu3/ipu_disp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mxc/ipu3/ipu_disp.c b/drivers/mxc/ipu3/ipu_disp.c
index 23fe511c8479..d8f2885b0270 100644
--- a/drivers/mxc/ipu3/ipu_disp.c
+++ b/drivers/mxc/ipu3/ipu_disp.c
@@ -1110,10 +1110,7 @@ int32_t ipu_init_sync_panel(int disp, uint32_t pixel_clk,
rounded_pixel_clk = pixel_clk * 2;
while (rounded_pixel_clk < 150000000)
rounded_pixel_clk += pixel_clk * 2;
- clk_set_rate(di_parent, rounded_pixel_clk);
- rounded_pixel_clk =
- clk_round_rate(g_di_clk[disp], pixel_clk);
- clk_set_rate(g_di_clk[disp], rounded_pixel_clk);
+ clk_set_rate(g_di_clk[disp], pixel_clk);
clk_set_parent(g_pixel_clk[disp], g_di_clk[disp]);
}
}