diff options
author | Tom Rini <trini@konsulko.com> | 2017-08-14 21:00:44 -0400 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-08-21 11:31:11 +0200 |
commit | 6bafa5a4bd7c4d85f86178aee8adb6040d8df4a3 (patch) | |
tree | 2a662c93b6fefcb482de20dec4a82f6d4e0856a3 /include/configs/kylin_rk3036.h | |
parent | 2341c80cd261291aff2c58b70bacc053ecca9d1d (diff) |
fb_mmc.c: Correct blk_dread() return value checks
The function blk_dread will return -ENOSYS on failure or on success the
number of blocks read, which must be the number asked to read (otherwise
it failed somewhere). Correct this check.
Cc: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/kylin_rk3036.h')
0 files changed, 0 insertions, 0 deletions