Skip to content
Snippets Groups Projects
Commit 6bafa5a4 authored by Tom Rini's avatar Tom Rini Committed by Marek Vasut
Browse files

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: default avatarTom Rini <trini@konsulko.com>
parent 2341c80c
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.
Finish editing this message first!
Please register or to comment