Skip to content
Snippets Groups Projects
Commit 9a4eb597 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent b26eb886
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment