summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/linux/linux-omap-2.6.28/mmctiming.patch16
-rw-r--r--recipes/linux/linux-omap_2.6.28.bb3
2 files changed, 18 insertions, 1 deletions
diff --git a/recipes/linux/linux-omap-2.6.28/mmctiming.patch b/recipes/linux/linux-omap-2.6.28/mmctiming.patch
new file mode 100644
index 0000000000..ec540ab3cb
--- /dev/null
+++ b/recipes/linux/linux-omap-2.6.28/mmctiming.patch
@@ -0,0 +1,16 @@
+Index: git/drivers/mmc/core/core.c
+===================================================================
+--- git.orig/drivers/mmc/core/core.c
++++ git/drivers/mmc/core/core.c
+@@ -284,9 +284,9 @@ void mmc_set_data_timeout(struct mmc_dat
+ * The limit is really 250 ms, but that is
+ * insufficient for some crappy cards.
+ */
+- limit_us = 300000;
++ limit_us = 500000;
+ else
+- limit_us = 100000;
++ limit_us = 200000;
+
+ /*
+ * SDHC cards always use these fixed values.
diff --git a/recipes/linux/linux-omap_2.6.28.bb b/recipes/linux/linux-omap_2.6.28.bb
index f89ef2aea6..d14472021e 100644
--- a/recipes/linux/linux-omap_2.6.28.bb
+++ b/recipes/linux/linux-omap_2.6.28.bb
@@ -13,7 +13,7 @@ DEFAULT_PREFERENCE_omap5912osk = "1"
SRCREV = "79d042a081d3e467c735bb0d9569ed6296f85a3c"
PV = "2.6.28"
-PR = "r17"
+PR = "r18"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;branch=omap-2.6.28;protocol=git \
file://defconfig"
@@ -54,6 +54,7 @@ SRC_URI_append = " \
file://usbttyfix.patch;patch=1 \
file://ioremap-fix.patch;patch=1 \
file://0124-leds-gpio-broken-with-current-git.patch;patch=1 \
+ file://mmctiming.patch;patch=1 \
"