commit | bda6f77fe6c9ccbfa97575d362d98c27fc00b5d5 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Mon Aug 14 21:00:44 2017 -0400 |
committer | Marek Vasut <marex@denx.de> | Mon Aug 21 11:31:11 2017 +0200 |
tree | 2a662c93b6fefcb482de20dec4a82f6d4e0856a3 | |
parent | 0ac605c75e309f4d45bddca886fb04a13dadfdac [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>