diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index f0ba29be92401afdf42e59b62a8da7441330d303..e3afacc20d519b74b037988f6c24f4359cb46234 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -240,7 +240,7 @@ int mmc_poll_for_busy(struct mmc *mmc, int timeout) unsigned int status; int err; - err = mmc_wait_dat0(mmc, 1, timeout); + err = mmc_wait_dat0(mmc, 1, timeout * 1000); if (err != -ENOSYS) return err; @@ -803,7 +803,7 @@ static int __mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value, start = get_timer(0); /* poll dat0 for rdy/buys status */ - ret = mmc_wait_dat0(mmc, 1, timeout); + ret = mmc_wait_dat0(mmc, 1, timeout * 1000); if (ret && ret != -ENOSYS) return ret;