summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-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]);
}
}