From: lintao Date: Fri, 7 Mar 2014 11:32:06 +0000 (+0800) Subject: mmc: rk_sdmmc: fix dw_mci_suspend X-Git-Tag: firefly_0821_release~6165^2~28 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bea28271f4fcd78bd0b7754cc84db48f8f5b4834;p=firefly-linux-kernel-4.4.55.git mmc: rk_sdmmc: fix dw_mci_suspend --- diff --git a/drivers/mmc/host/rk_sdmmc.c b/drivers/mmc/host/rk_sdmmc.c index 0a31358816be..ebd0edbb09d9 100755 --- a/drivers/mmc/host/rk_sdmmc.c +++ b/drivers/mmc/host/rk_sdmmc.c @@ -2738,7 +2738,7 @@ EXPORT_SYMBOL(dw_mci_remove); */ int dw_mci_suspend(struct dw_mci *host) { - int i, ret = 0; + /*int i, ret = 0; for (i = 0; i < host->num_slots; i++) { struct dw_mci_slot *slot = host->slot[i]; @@ -2754,7 +2754,7 @@ int dw_mci_suspend(struct dw_mci *host) return ret; } } - + */ if (host->vmmc) regulator_disable(host->vmmc);