commit | c60a5bc58b6efdbef05e3d9be08ba32a3d3ab801 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 18 15:55:31 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Oct 21 07:46:50 2015 -0600 |
tree | 4dcf19a25f13ac70ea08c670bc4e1c70b0816af1 | |
parent | a10166f789868f1170063a6bec9de2bcdc6df7a5 [diff] |
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>