diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-06-30 23:40:35 +0200 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-07-15 14:14:48 +0200 |
commit | 2de5f79d4dfcb1be16f0b873bc77d6ec74b0426d (patch) | |
tree | e333e67861339103c151e5cb029cdcc33975bcb3 /drivers/mmc | |
parent | MMC: S3C24XX: Add MODULE_ALIAS() entries for the platform devices (diff) | |
download | linux-2de5f79d4dfcb1be16f0b873bc77d6ec74b0426d.tar.xz linux-2de5f79d4dfcb1be16f0b873bc77d6ec74b0426d.zip |
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')
-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) 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; } |