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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, July 16, 2008 - 4:20 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2de5f7...
Commit:     2de5f79d4dfcb1be16f0b873bc77d6ec74b0426d
Parent:     318f905f02b427b8df33d724b7392a0597b40bdd
Author:     Ben Dooks <ben-linux@fluff.org>
AuthorDate: Mon Jun 30 22:40:35 2008 +0100
Committer:  Pierre Ossman <drzeus@drzeus.cx>
CommitDate: Tue Jul 15 14:14:48 2008 +0200

    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>
---
 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 a6224f9..6f1b474 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;
 }
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MMC: S3C24XX: Fix use of msecs where jiffies are needed, Linux Kernel Mailing ..., (Wed Jul 16, 4:20 pm)