diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:53:53 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:53:53 +0000 |
commit | db831511d2091907eef52519ebcc47f54cfd6d33 (patch) | |
tree | 9f9c7fba156b00e4bc76030988ecf32839f622ce /target/linux/goldfish/patches-2.6.30/0098-mmc-sd-When-resuming-try-a-little-harder-to-init.patch | |
parent | 979bc5536dd4960748cc7a96426abdc8ace15131 (diff) | |
download | mtk-20170518-db831511d2091907eef52519ebcc47f54cfd6d33.zip mtk-20170518-db831511d2091907eef52519ebcc47f54cfd6d33.tar.gz mtk-20170518-db831511d2091907eef52519ebcc47f54cfd6d33.tar.bz2 |
goldfish: R.I.P.
It is broken and it is not maintained by anyone since long time.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34766
Diffstat (limited to 'target/linux/goldfish/patches-2.6.30/0098-mmc-sd-When-resuming-try-a-little-harder-to-init.patch')
-rw-r--r-- | target/linux/goldfish/patches-2.6.30/0098-mmc-sd-When-resuming-try-a-little-harder-to-init.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/target/linux/goldfish/patches-2.6.30/0098-mmc-sd-When-resuming-try-a-little-harder-to-init.patch b/target/linux/goldfish/patches-2.6.30/0098-mmc-sd-When-resuming-try-a-little-harder-to-init.patch deleted file mode 100644 index 4e525b6..0000000 --- a/target/linux/goldfish/patches-2.6.30/0098-mmc-sd-When-resuming-try-a-little-harder-to-init.patch +++ /dev/null @@ -1,44 +0,0 @@ -From bd8df907ee8e95143d1bb7ec01ee0e4b6f7e1b79 Mon Sep 17 00:00:00 2001 -From: San Mehat <san@android.com> -Date: Mon, 1 Dec 2008 08:52:34 -0800 -Subject: [PATCH 098/134] mmc: sd: When resuming, try a little harder to init the card - -Signed-off-by: San Mehat <san@android.com> ---- - drivers/mmc/core/sd.c | 19 +++++++++++++++++++ - 1 files changed, 19 insertions(+), 0 deletions(-) - ---- a/drivers/mmc/core/sd.c -+++ b/drivers/mmc/core/sd.c -@@ -607,12 +607,31 @@ static void mmc_sd_suspend(struct mmc_ho - static void mmc_sd_resume(struct mmc_host *host) - { - int err; -+#ifdef CONFIG_MMC_PARANOID_SD_INIT -+ int retries; -+#endif - - BUG_ON(!host); - BUG_ON(!host->card); - - mmc_claim_host(host); -+#ifdef CONFIG_MMC_PARANOID_SD_INIT -+ retries = 5; -+ while (retries) { -+ err = mmc_sd_init_card(host, host->ocr, host->card); -+ -+ if (err) { -+ printk(KERN_ERR "%s: Re-init card rc = %d (retries = %d)\n", -+ mmc_hostname(host), err, retries); -+ mdelay(5); -+ retries--; -+ continue; -+ } -+ break; -+ } -+#else - err = mmc_sd_init_card(host, host->ocr, host->card); -+#endif - mmc_release_host(host); - - if (err) { |