linux-openmoko-2.6.34: add patch for resume
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 29 Jun 2010 10:56:54 +0000 (12:56 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Tue, 29 Jun 2010 15:18:10 +0000 (17:18 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/linux/linux-openmoko-2.6.34/0001-glamo-mci-add-MMC_CAP_NONREMOVABLE.patch [new file with mode: 0644]
recipes/linux/linux-openmoko-2.6.34_git.bb

diff --git a/recipes/linux/linux-openmoko-2.6.34/0001-glamo-mci-add-MMC_CAP_NONREMOVABLE.patch b/recipes/linux/linux-openmoko-2.6.34/0001-glamo-mci-add-MMC_CAP_NONREMOVABLE.patch
new file mode 100644 (file)
index 0000000..fa3b138
--- /dev/null
@@ -0,0 +1,24 @@
+From ceee4a77574ebb8fe211043731f64f585f87b7de Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Tue, 29 Jun 2010 12:54:03 +0200
+Subject: [PATCH] glamo-mci: add MMC_CAP_NONREMOVABLE
+
+---
+ drivers/mmc/host/glamo-mci.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/mmc/host/glamo-mci.c b/drivers/mmc/host/glamo-mci.c
+index b2442c2..7c96b4c 100644
+--- a/drivers/mmc/host/glamo-mci.c
++++ b/drivers/mmc/host/glamo-mci.c
+@@ -811,6 +811,7 @@ static int glamo_mci_probe(struct platform_device *pdev)
+       mmc->ocr_avail  = mmc_regulator_get_ocrmask(host->regulator);
+       mmc->caps       = MMC_CAP_4_BIT_DATA |
+                           MMC_CAP_MMC_HIGHSPEED |
++                          MMC_CAP_NONREMOVABLE |
+                           MMC_CAP_SD_HIGHSPEED;
+       mmc->f_min      = host->clk_rate / 256;
+       mmc->f_max      = sd_max_clk;
+-- 
+1.7.1
+
index 73d8be4..7381123 100644 (file)
@@ -4,7 +4,7 @@ require linux-openmoko.inc
 KERNEL_RELEASE="2.6.34"
 
 SRCREV = "4ce5f33cd4bcde2e25d50ae0880eb39213e2b6d2"
-OEV = "oe4"
+OEV = "oe4.1"
 PV = "${KERNEL_RELEASE}-${OEV}+gitr${SRCPV}"
 
 SRC_URI = "\
@@ -29,6 +29,8 @@ SRC_URI = "\
   file://0002-usbhost.patch.patch \
   file://0003-ar6000_delay.patch.patch \
   file://0004-save_regs.patch.patch \
+# possible resume fix  
+  file://0001-glamo-mci-add-MMC_CAP_NONREMOVABLE.patch \
   file://defconfig \
 "