]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spl: spl_mmc: fix mmc Falcon mode regression
authorTim Harvey <tharvey@gateworks.com>
Thu, 21 May 2015 22:57:16 +0000 (15:57 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:44:58 +0000 (22:44 +0200)
commit2b6506a8793a5848d46dbfba062fbedc3a02c67f
tree0fbdccf655a82e6b35b7dea94f5ebf2f8c764f75
parent8853f13b22a4d258dd16feb840afcb9b071236ea
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>
common/spl/spl_mmc.c