diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-09 11:38:39 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-09 11:38:39 +0000 |
commit | d1eed108bb500343f8c018e6e56ca2f294bd3a69 (patch) | |
tree | b25be166b0434665e7a913985199d59614689b15 /target/linux/kirkwood/patches/002-mvsdio_delay.patch | |
parent | 861b9b25e03466ab031d377b8ea11994535d47c7 (diff) | |
download | mtk-20170518-d1eed108bb500343f8c018e6e56ca2f294bd3a69.zip mtk-20170518-d1eed108bb500343f8c018e6e56ca2f294bd3a69.tar.gz mtk-20170518-d1eed108bb500343f8c018e6e56ca2f294bd3a69.tar.bz2 |
kirkwood: nuke 2.6.37 support
SVN-Revision: 31666
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 ba28853..0000000 --- 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 -@@ -332,6 +332,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 -@@ -303,9 +303,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. |