summaryrefslogtreecommitdiff
path: root/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/mmcsd_no_scr_check-r2.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-10-24 10:51:45 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-10-24 10:51:45 +0000
commit354c5431349e0487995bebd0fb031f6e431d873f (patch)
treef170d4c4debec61002ff6e8ba672d5dbe362fce8 /meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/mmcsd_no_scr_check-r2.patch
parent6e23136cc799c75f81840e933707c3411fbcd584 (diff)
downloadopenembedded-core-354c5431349e0487995bebd0fb031f6e431d873f.tar.gz
openembedded-core-354c5431349e0487995bebd0fb031f6e431d873f.tar.bz2
openembedded-core-354c5431349e0487995bebd0fb031f6e431d873f.tar.xz
openembedded-core-354c5431349e0487995bebd0fb031f6e431d873f.zip
linux-rp: upgraded from 2.6.23+git to 2.6.24-rc1
Updated patches: - hx2750_base - pxa27x_overlay - squashfs3 (does not build anyway) Disabled patches: - input_power (does not like LONG() function) - tsc2101 (breaks Kconfig - something with MACH_HX2750) - squashfs3 Builds for c7x0 but is too big. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2951 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/mmcsd_no_scr_check-r2.patch')
-rw-r--r--meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/mmcsd_no_scr_check-r2.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/mmcsd_no_scr_check-r2.patch b/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/mmcsd_no_scr_check-r2.patch
new file mode 100644
index 000000000..ac2245f08
--- /dev/null
+++ b/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/mmcsd_no_scr_check-r2.patch
@@ -0,0 +1,29 @@
+---
+ drivers/mmc/core/sd.c | 11 ++++++-----
+ 1 file changed, 6 insertions(+), 5 deletions(-)
+
+Index: linux-2.6.23/drivers/mmc/core/sd.c
+===================================================================
+--- linux-2.6.23.orig/drivers/mmc/core/sd.c 2007-10-17 11:33:26.000000000 +0200
++++ linux-2.6.23/drivers/mmc/core/sd.c 2007-10-17 11:33:49.000000000 +0200
+@@ -173,14 +173,15 @@
+
+ scr_struct = UNSTUFF_BITS(resp, 60, 4);
+ if (scr_struct != 0) {
+- printk(KERN_ERR "%s: unrecognised SCR structure version %d\n",
++ printk(KERN_WARNING "%s: unrecognised SCR structure version %d\n",
+ mmc_hostname(card->host), scr_struct);
+- return -EINVAL;
++ scr->sda_vsn = 0;
++ scr->bus_widths = 0;
++ } else {
++ scr->sda_vsn = UNSTUFF_BITS(resp, 56, 4);
++ scr->bus_widths = UNSTUFF_BITS(resp, 48, 4);
+ }
+
+- scr->sda_vsn = UNSTUFF_BITS(resp, 56, 4);
+- scr->bus_widths = UNSTUFF_BITS(resp, 48, 4);
+-
+ return 0;
+ }
+