diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-06-30 17:40:35 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-07-15 08:14:48 -0400 |
commit | 2de5f79d4dfcb1be16f0b873bc77d6ec74b0426d (patch) | |
tree | e333e67861339103c151e5cb029cdcc33975bcb3 /drivers/mmc/host | |
parent | 318f905f02b427b8df33d724b7392a0597b40bdd (diff) |
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 <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/s3cmci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
584 | 584 | ||
585 | dbg(host, dbg_irq, "card detect\n"); | 585 | dbg(host, dbg_irq, "card detect\n"); |
586 | 586 | ||
587 | mmc_detect_change(host->mmc, 500); | 587 | mmc_detect_change(host->mmc, msecs_to_jiffies(500)); |
588 | 588 | ||
589 | return IRQ_HANDLED; | 589 | return IRQ_HANDLED; |
590 | } | 590 | } |