diff options
author | Simon Glass <sjg@chromium.org> | 2015-10-18 15:55:31 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-10-21 07:46:50 -0600 |
commit | 9a4eb5977ad5dc2516e1219613258e30b10d27bd (patch) | |
tree | 4dcf19a25f13ac70ea08c670bc4e1c70b0816af1 /arch/x86 | |
parent | b26eb88658b9fbb87c5bae22cede05de3124abb7 (diff) | |
download | u-boot-imx-9a4eb5977ad5dc2516e1219613258e30b10d27bd.zip u-boot-imx-9a4eb5977ad5dc2516e1219613258e30b10d27bd.tar.gz u-boot-imx-9a4eb5977ad5dc2516e1219613258e30b10d27bd.tar.bz2 |
dm: rtc: Correct rtc_read32() return value
The current check is incorrect and will fail when any non-zero byte is read.
Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions