提交 2de5f79d 编写于 作者: B Ben Dooks 提交者: Pierre Ossman

MMC: S3C24XX: Fix use of msecs where jiffies are needed

mmc_detect_change() takes jiffies, not msecs. Convert the
previous value of msecs into jiffies before calling.
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
上级 318f905f
......@@ -584,7 +584,7 @@ static irqreturn_t s3cmci_irq_cd(int irq, void *dev_id)
dbg(host, dbg_irq, "card detect\n");
mmc_detect_change(host->mmc, 500);
mmc_detect_change(host->mmc, msecs_to_jiffies(500));
return IRQ_HANDLED;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册