diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-02 00:33:45 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-02 00:33:45 +0000 |
commit | 7d1e5ae918ad606b6990d700368f4fe18c845773 (patch) | |
tree | 99598688f94c0853da9e0255de2644826f723145 /target/linux/kirkwood/patches/002-mvsdio_delay.patch | |
parent | 914ca3cb559bf4e2257607b712bc20c5510172de (diff) | |
download | upstream-7d1e5ae918ad606b6990d700368f4fe18c845773.tar.gz upstream-7d1e5ae918ad606b6990d700368f4fe18c845773.tar.bz2 upstream-7d1e5ae918ad606b6990d700368f4fe18c845773.zip |
kirkwood: prepare for 3.10
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38279
Diffstat (limited to 'target/linux/kirkwood/patches/002-mvsdio_delay.patch')
-rw-r--r-- | target/linux/kirkwood/patches/002-mvsdio_delay.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/kirkwood/patches/002-mvsdio_delay.patch b/target/linux/kirkwood/patches/002-mvsdio_delay.patch deleted file mode 100644 index 46e2a5646c..0000000000 --- a/target/linux/kirkwood/patches/002-mvsdio_delay.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/drivers/mmc/core/sd.c -+++ b/drivers/mmc/core/sd.c -@@ -389,6 +389,15 @@ int mmc_sd_switch_hs(struct mmc_card *ca - return -ENOMEM; - } - -+ /* -+ * Some SDHC cards, notably those with a Sandisk SD controller -+ * (also found in Kingston products) need a bit of slack -+ * before successfully handling the SWITCH command. So far, -+ * cards identifying themselves as "SD04G" and "SD08G" are -+ * affected -+ */ -+ udelay(1000); -+ - err = mmc_sd_switch(card, 1, 0, 1, status); - if (err) - goto out; ---- a/drivers/mmc/core/core.c -+++ b/drivers/mmc/core/core.c -@@ -529,9 +529,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. |