Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2de5f79d authored by Ben Dooks's avatar Ben Dooks Committed by Pierre Ossman
Browse files

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: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 318f905f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -584,7 +584,7 @@ static irqreturn_t s3cmci_irq_cd(int irq, void *dev_id)


	dbg(host, dbg_irq, "card detect\n");
	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;
	return IRQ_HANDLED;
}
}