From a95f9f92e2953d5829a29e95644dc4c4bc93f590 Mon Sep 17 00:00:00 2001 From: mirko Date: Sat, 13 Dec 2008 01:54:56 +0000 Subject: change prefix for kernelpatchbase 2.6.26 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13619 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...ct_change-takes-jiffies-not-msecs.-Conver.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 target/linux/s3c24xx/patches-2.6.26/1253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch (limited to 'target/linux/s3c24xx/patches-2.6.26/1253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch') diff --git a/target/linux/s3c24xx/patches-2.6.26/1253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch b/target/linux/s3c24xx/patches-2.6.26/1253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch new file mode 100755 index 000000000..4984ce128 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.26/1253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch @@ -0,0 +1,29 @@ +From d2208c89291153080ea94f28883da64356e7c799 Mon Sep 17 00:00:00 2001 +From: Ben Dooks +Date: Sun, 10 Aug 2008 09:29:30 +0100 +Subject: [PATCH] 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 +(cherry picked from commit 2de5f79d4dfcb1be16f0b873bc77d6ec74b0426d) +--- + drivers/mmc/host/s3cmci.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c +index ffba0f9..283b90c 100644 +--- a/drivers/mmc/host/s3cmci.c ++++ b/drivers/mmc/host/s3cmci.c +@@ -598,7 +598,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; + } +-- +1.5.6.3 + -- cgit v1.2.3