summaryrefslogtreecommitdiff
path: root/recipes/u-boot/u-boot-git/calamari/fsl-esdhc.patch
blob: 1a9c5a0662da54c6d6813161057cc439e2826441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
t a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index a368fe6..f982a69 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -208,7 +208,7 @@ static int esdhc_setup_data(struct mmc *mmc, struct mmc_data *data)
 
 	/* Calculate the timeout period for data transactions */
 	timeout = fls(mmc->tran_speed/10) - 1;
-	timeout -= 13;
+	timeout -= 11;
 
 	if (timeout > 14)
 		timeout = 14;