add IXP4xx GPIOLIB support based on Chris' patch
[openwrt.git] / target / linux / s3c24xx / patches-2.6.26 / 1253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch
1 From d2208c89291153080ea94f28883da64356e7c799 Mon Sep 17 00:00:00 2001
2 From: Ben Dooks <ben-linux@fluff.org>
3 Date: Sun, 10 Aug 2008 09:29:30 +0100
4 Subject: [PATCH] mmc_detect_change() takes jiffies, not msecs. Convert the
5 previous value of msecs into jiffies before calling.
6
7 Signed-off-by: Ben Dooks <ben-linux@fluff.org>
8 Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
9 (cherry picked from commit 2de5f79d4dfcb1be16f0b873bc77d6ec74b0426d)
10 ---
11 drivers/mmc/host/s3cmci.c | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
15 index ffba0f9..283b90c 100644
16 --- a/drivers/mmc/host/s3cmci.c
17 +++ b/drivers/mmc/host/s3cmci.c
18 @@ -598,7 +598,7 @@ static irqreturn_t s3cmci_irq_cd(int irq, void *dev_id)
19
20 dbg(host, dbg_irq, "card detect\n");
21
22 - mmc_detect_change(host->mmc, 500);
23 + mmc_detect_change(host->mmc, msecs_to_jiffies(500));
24
25 return IRQ_HANDLED;
26 }
27 --
28 1.5.6.3
29
This page took 0.050493 seconds and 5 git commands to generate.