]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/uniphier-sd.c
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
[u-boot] / 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) {