diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-03-27 19:32:09 +0100 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-03-27 19:32:09 +0100 |
commit | b573614a7e5c5d01d8b2995a37e161cfd143b5d6 (patch) | |
tree | 7e72cdc4014a6f5e0fb121a99034d15616715a18 /recipes/linux/linux-omap-2.6.28 | |
parent | c133a97e0c262fb707eecbc79a41cececb391e5a (diff) | |
download | openembedded-b573614a7e5c5d01d8b2995a37e161cfd143b5d6.tar.gz |
linux-omap-2.6.28: relaxed timeout values for SD cards
this makes it possible to use cards which are around the border of the spec
Diffstat (limited to 'recipes/linux/linux-omap-2.6.28')
-rw-r--r-- | recipes/linux/linux-omap-2.6.28/mmctiming.patch | 16 |
1 files changed, 16 insertions, 0 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. |