]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/uniphier-sd.c
mmc: use the generic error number
[people/ms/u-boot.git] / drivers / mmc / uniphier-sd.c
index 02df809bcfd5bfbe8db614bcd4d346c13335fd0a..2a4837840a9d95fa93e078a01d4587e073e1c8f0 100644 (file)
@@ -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) {