projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc89a0
)
fdt: Correct return value in fdtdec_decode_display_timing()
author
Simon Glass
<sjg@chromium.org>
Thu, 5 May 2016 13:28:21 +0000
(07:28 -0600)
committer
Andreas Bießmann
<andreas@biessmann.org>
Sun, 12 Jun 2016 21:49:38 +0000
(23:49 +0200)
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
patch
|
blob
|
history
diff --git
a/lib/fdtdec.c
b/lib/fdtdec.c
index ab002e9fa3e5ceb33edcca7a08fcfb2f1d42e595..686b89da38549883c8cdaa5511c8a15d1921706d 100644
(file)
--- a/
lib/fdtdec.c
+++ b/
lib/fdtdec.c
@@
-1170,7
+1170,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)