Remove duplicate code "enable_dma()" in platform_resume.
Enable_dma was invoked already in sdhci_resume_host
before ops->platform_resume was executed

Signed-off-by: Haijun Zhang <haijun.zh...@freescale.com>
CC: Anton Vorontsov <cbouatmai...@gmail.com>
---
 drivers/mmc/host/sdhci-of-esdhc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/sdhci-of-esdhc.c 
b/drivers/mmc/host/sdhci-of-esdhc.c
index 5e68adc..da3fb7b 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -212,7 +212,6 @@ static void esdhc_of_suspend(struct sdhci_host *host)
 
 static void esdhc_of_resume(struct sdhci_host *host)
 {
-       esdhc_of_enable_dma(host);
        sdhci_be32bs_writel(host, esdhc_proctl, SDHCI_HOST_CONTROL);
 }
 #endif
-- 
1.7.0.4


--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to