Tom Rini 6bafa5a4bd 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>
2017-08-21 11:31:11 +02:00
..
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-05-12 08:37:09 -04:00
2017-07-11 22:41:46 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2017-08-19 20:42:20 +02:00
2017-07-03 17:35:28 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-07-11 10:08:19 -06:00
2017-07-03 17:35:28 -04:00