X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=drivers%2Fmmc%2Funiphier-sd.c;h=2a4837840a9d95fa93e078a01d4587e073e1c8f0;hb=915ffa5213756568f6185d05cda2cb2f6050f974;hp=02df809bcfd5bfbe8db614bcd4d346c13335fd0a;hpb=70f862808e8ae4b97fe736ec9d9d496881ad84b2;p=people%2Fms%2Fu-boot.git diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c index 02df809bcf..2a4837840a 100644 --- a/drivers/mmc/uniphier-sd.c +++ b/drivers/mmc/uniphier-sd.c @@ -162,7 +162,7 @@ static int uniphier_sd_check_error(struct uniphier_sd_priv *priv) * display error log since this might be a part of sequence to * distinguish between SD and MMC. */ - return TIMEOUT; + return -ETIMEDOUT; } if (info2 & UNIPHIER_SD_INFO2_ERR_TO) {