projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
318f905
)
MMC: S3C24XX: Fix use of msecs where jiffies are needed
author
Ben Dooks
<ben-linux@fluff.org>
Mon, 30 Jun 2008 21:40:35 +0000
(22:40 +0100)
committer
Pierre 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
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/s3cmci.c
b/drivers/mmc/host/s3cmci.c
index
a6224f9
..
6f1b474
100644
(file)
--- 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;
}