summaryrefslogtreecommitdiff
path: root/drivers/mxc/ipu3/ipu_disp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mxc/ipu3/ipu_disp.c')
-rw-r--r--drivers/mxc/ipu3/ipu_disp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/ipu3/ipu_disp.c b/drivers/mxc/ipu3/ipu_disp.c
index b432cb9df734..00c5008d149f 100644
--- a/drivers/mxc/ipu3/ipu_disp.c
+++ b/drivers/mxc/ipu3/ipu_disp.c
@@ -954,7 +954,7 @@ int32_t ipu_init_sync_panel(int disp, uint32_t pixel_clk,
if ((v_sync_width == 0) || (h_sync_width == 0))
return EINVAL;
- adapt_panel_to_ipu_restricitions((uint16_t *)&pixel_clk, width, height,
+ adapt_panel_to_ipu_restricitions((uint32_t *)&pixel_clk, width, height,
h_start_width, h_end_width,
v_start_width, &v_end_width);
h_total = width + h_sync_width + h_start_width + h_end_width;