From: Ben Dooks Date: Mon, 30 Jun 2008 21:40:35 +0000 (+0100) Subject: MMC: S3C24XX: Fix use of msecs where jiffies are needed X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2de5f79d4dfcb1be16f0b873bc77d6ec74b0426d;p=linux-beck.git 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: Ben Dooks Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index a6224f9b28bc..6f1b474e33b9 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c @@ -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; }