summaryrefslogtreecommitdiff
path: root/drivers/mmc/uniphier-sd.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-08-05 09:15:55 -0400
committerTom Rini <trini@konsulko.com>2016-08-05 20:55:27 -0400
commita60d94b204412732409e70cb15236bd96d4da7d9 (patch)
tree4eb4d5b6b0783a6b244625109a724185c1b64a78 /drivers/mmc/uniphier-sd.c
parentd03a0308599bb658598848e86aadb0d140f65e0c (diff)
parent89f69e51734f5d704ef84503d24907bfde2f5577 (diff)
downloadu-boot-imx-a60d94b204412732409e70cb15236bd96d4da7d9.zip
u-boot-imx-a60d94b204412732409e70cb15236bd96d4da7d9.tar.gz
u-boot-imx-a60d94b204412732409e70cb15236bd96d4da7d9.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'drivers/mmc/uniphier-sd.c')
-rw-r--r--drivers/mmc/uniphier-sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c
index 02df809..2a48378 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) {