Skip to content
Commit 9d3b5654 authored by Tim Harvey's avatar Tim Harvey Committed by Stefano Babic
Browse files

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: default avatarTim Harvey <tharvey@gateworks.com>
Acked-by: default avatarPaul Kocialkowski <contact@paulk.fr>
parent 6122f0d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment