On 05.05.16 15:28, Simon Glass wrote:
> This should return a non-zero value if there is a missing property. Update
> the return value accordingly. The only expected error is -FDT_ERR_NOTFOUND.
> 
> Signed-off-by: Simon Glass <[email protected]>

Reviewed-by: Andreas Bießmann <[email protected]>

> ---
> 
> Changes in v2: None
> 
>  lib/fdtdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/fdtdec.c b/lib/fdtdec.c
> index 70acc29..9782c93 100644
> --- a/lib/fdtdec.c
> +++ b/lib/fdtdec.c
> @@ -1169,7 +1169,7 @@ int fdtdec_decode_display_timing(const void *blob, int 
> parent, int index,
>       if (fdtdec_get_bool(blob, node, "doubleclk"))
>               dt->flags |= DISPLAY_FLAGS_DOUBLECLK;
>  
> -     return 0;
> +     return ret;
>  }
>  
>  int fdtdec_setup(void)
> 
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to