commit | 9d3b56544137b1390b235ed0991a3b5740ceb208 | [log] [tgz] |
---|---|---|
author | Tim Harvey <tharvey@gateworks.com> | Thu May 21 15:57:16 2015 -0700 |
committer | Stefano Babic <sbabic@denx.de> | Tue May 26 14:26:27 2015 +0200 |
tree | afe40c29dbb6be07c00d726c691100a087080549 | |
parent | 6122f0d556c7d2ba54c5d61f4ef2453d993aa8eb [diff] |
spl: spl_mmc: fix mmc Falcon mode regression 91199f4a5a21a7cf9dd9e7c05e295a042f8c2b7e broke mmc based Falcon mode. The block_read function returns the number of blocks read thus the error check needs to look for a return of 0 blocks read. Cc: Paul Kocialkowski <contact@paulk.fr> Signed-off-by: Tim Harvey <tharvey@gateworks.com> Acked-by: Paul Kocialkowski <contact@paulk.fr>