Skip to content

Commit

Permalink
MMC: S3C24XX: Fix use of msecs where jiffies are needed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Dooks authored and Pierre Ossman committed Jul 15, 2008
1 parent 318f905 commit 2de5f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/s3cmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2de5f79

Please sign in to comment.