Commit 04b9dd10 authored by Simon Glass's avatar Simon Glass Committed by Andreas Bießmann

fdt: Correct return value in fdtdec_decode_display_timing()

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: default avatarSimon Glass <>
Reviewed-by: default avatarAndreas Bießmann <>
parent 9dc89a05
......@@ -1170,7 +1170,7 @@ int fdtdec_decode_display_timing(const void *blob, int parent, int index,
if (fdtdec_get_bool(blob, node, "doubleclk"))
return 0;
return ret;
int fdtdec_setup(void)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment