summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/imx_esdhc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/imx_esdhc.c b/drivers/mmc/imx_esdhc.c
index 6181fca..5ee0efd 100644
--- a/drivers/mmc/imx_esdhc.c
+++ b/drivers/mmc/imx_esdhc.c
@@ -76,15 +76,15 @@ struct fsl_esdhc {
static inline void mdelay(unsigned long msec)
{
unsigned long i;
- for (i = 0; i < msec * 10; i++)
- udelay(100);
+ for (i = 0; i < msec; i++)
+ udelay(1000);
}
static inline void sdelay(unsigned long sec)
{
unsigned long i;
- for (i = 0; i < sec * 10; i++)
- mdelay(100);
+ for (i = 0; i < sec; i++)
+ mdelay(1000);
}
/* Return the XFERTYP flags for a given command and data packet */