From: Ben Dooks Date: Mon, 30 Jun 2008 21:40:35 +0000 (+0100) Subject: MMC: S3C24XX: Fix use of msecs where jiffies are needed X-Git-Tag: accepted/tizen/common/20141203.182822~21477^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2de5f79d4dfcb1be16f0b873bc77d6ec74b0426d;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: Pierre Ossman --- 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; }