mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-13 12:32:47 +01:00
video: ipu_disp: Return a negative value on error
We should return a negative error number (-EINVAL) on error. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
f44483b57c
commit
d1486e3352
1 changed files with 1 additions and 1 deletions
|
|
@ -889,7 +889,7 @@ int32_t ipu_init_sync_panel(int disp, uint32_t pixel_clk,
|
|||
debug("panel size = %d x %d\n", width, height);
|
||||
|
||||
if ((v_sync_width == 0) || (h_sync_width == 0))
|
||||
return EINVAL;
|
||||
return -EINVAL;
|
||||
|
||||
adapt_panel_to_ipu_restricitions(&pixel_clk, width, height,
|
||||
h_start_width, h_end_width,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue