spl: spl_mmc: fix mmc Falcon mode regression
91199f4a 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: NTim Harvey <tharvey@gateworks.com> Acked-by: NPaul Kocialkowski <contact@paulk.fr>
Showing
想要评论请 注册 或 登录