summaryrefslogtreecommitdiff
path: root/drivers/mxc/ipu3
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mxc/ipu3')
-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 d7cc2107046e..12dbacdc12b9 100644
--- a/drivers/mxc/ipu3/ipu_disp.c
+++ b/drivers/mxc/ipu3/ipu_disp.c
@@ -956,7 +956,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(&pixel_clk, width, height,
+ adapt_panel_to_ipu_restricitions((uint16_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;