summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.26/1229-fix-glamo-mci-dont-filter-voltage-change.patch.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2008-12-13 01:54:56 +0000
committerMirko Vogt <mirko@openwrt.org>2008-12-13 01:54:56 +0000
commitc931b21161bf3d8a8cab193045b7deb52f914fb2 (patch)
tree6f4c70017b90c8dddb4845ce8a363d61268e016d /target/linux/s3c24xx/patches-2.6.26/1229-fix-glamo-mci-dont-filter-voltage-change.patch.patch
parent738e5ca558af0a32073576d9a361d0b5e6383e8e (diff)
downloadmaster-31e0f0ae-c931b21161bf3d8a8cab193045b7deb52f914fb2.tar.gz
master-31e0f0ae-c931b21161bf3d8a8cab193045b7deb52f914fb2.tar.bz2
master-31e0f0ae-c931b21161bf3d8a8cab193045b7deb52f914fb2.zip
change prefix for kernelpatchbase 2.6.26
SVN-Revision: 13619
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/1229-fix-glamo-mci-dont-filter-voltage-change.patch.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches-2.6.26/1229-fix-glamo-mci-dont-filter-voltage-change.patch.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/1229-fix-glamo-mci-dont-filter-voltage-change.patch.patch b/target/linux/s3c24xx/patches-2.6.26/1229-fix-glamo-mci-dont-filter-voltage-change.patch.patch
new file mode 100755
index 0000000000..ab8095abd8
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.26/1229-fix-glamo-mci-dont-filter-voltage-change.patch.patch
@@ -0,0 +1,40 @@
+From 8ccb7946041773bb000a0c65cf30bd2392a5815f Mon Sep 17 00:00:00 2001
+From: Andy Green <andy@openmoko.com>
+Date: Wed, 30 Jul 2008 14:36:50 +0100
+Subject: [PATCH] fix-glamo-mci-dont-filter-voltage-change.patch
+
+Signed-off-by: Andy Green <andy@openmoko.com>
+---
+ drivers/mfd/glamo/glamo-mci.c | 11 +++++------
+ 1 files changed, 5 insertions(+), 6 deletions(-)
+
+diff --git a/drivers/mfd/glamo/glamo-mci.c b/drivers/mfd/glamo/glamo-mci.c
+index 0d82955..7a2b060 100644
+--- a/drivers/mfd/glamo/glamo-mci.c
++++ b/drivers/mfd/glamo/glamo-mci.c
+@@ -690,17 +690,16 @@ static void glamo_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
+ switch(ios->power_mode) {
+ case MMC_POWER_ON:
+ case MMC_POWER_UP:
+- if (host->power_mode_current != MMC_POWER_OFF)
+- break;
+ if (host->vdd_current != ios->vdd) {
+ host->pdata->glamo_set_mci_power(ios->power_mode,
+ ios->vdd);
+ host->vdd_current = ios->vdd;
+ }
+- glamo_engine_enable(glamo_mci_def_pdata.pglamo,
+- GLAMO_ENGINE_MMC);
+- glamo_mci_reset(host);
+- powering = 1;
++ if (host->power_mode_current == MMC_POWER_OFF) {
++ glamo_engine_enable(glamo_mci_def_pdata.pglamo,
++ GLAMO_ENGINE_MMC);
++ powering = 1;
++ }
+ break;
+
+ case MMC_POWER_OFF:
+--
+1.5.6.3
+