diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 00:02:36 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 00:02:36 +0000 |
commit | b9dfb81f2aa45be745a8aed9684076210aed4152 (patch) | |
tree | aceadd7f37096911a29c929988cbcf7c964a1c0b /target/linux/s3c24xx/patches/0253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch | |
parent | 4571721ec22de116ad9998657e0a3c12da6405fb (diff) | |
download | upstream-b9dfb81f2aa45be745a8aed9684076210aed4152.tar.gz upstream-b9dfb81f2aa45be745a8aed9684076210aed4152.tar.bz2 upstream-b9dfb81f2aa45be745a8aed9684076210aed4152.zip |
add support for target 3c24xx (more known as Openmoko GTA02 "Freerunner") and merge it with the openmoko-target and the work Michael Buesch <mb> did
SVN-Revision: 13609
Diffstat (limited to 'target/linux/s3c24xx/patches/0253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches/0253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches/0253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch b/target/linux/s3c24xx/patches/0253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch new file mode 100755 index 0000000000..4984ce1280 --- /dev/null +++ b/target/linux/s3c24xx/patches/0253-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 <ben-linux@fluff.org> +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 <ben-linux@fluff.org> +Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> +(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 + |