MMC: S3C24XX: Fix use of msecs where jiffies are needed
authorBen Dooks <ben-linux@fluff.org>
Mon, 30 Jun 2008 21:40:35 +0000 (22:40 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:48 +0000 (14:14 +0200)
mmc_detect_change() takes jiffies, not msecs. Convert the
previous value of msecs into jiffies before calling.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/s3cmci.c

index a6224f9b28bcad616bb476aeb06b1edecb2ac7b7..6f1b474e33b9dfdb0f5ea7fa2f292b4b8ff06a39 100644 (file)
@@ -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;
 }