]> git.ipfire.org Git - people/ms/u-boot.git/commit - lib/fdtdec.c
fdt: Correct return value in fdtdec_decode_display_timing()
authorSimon Glass <sjg@chromium.org>
Thu, 5 May 2016 13:28:21 +0000 (07:28 -0600)
committerAndreas Bießmann <andreas@biessmann.org>
Sun, 12 Jun 2016 21:49:38 +0000 (23:49 +0200)
commit04b9dd10cc11e4f603a2bae9cf4cc21af1229534
treee27eff862f4f682785ca2eba19c0233f4dfa6a6f
parent9dc89a053d29deea73c39ef49c9f1c6cb4c38820
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: Simon Glass <sjg@chromium.org>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
lib/fdtdec.c