Skip to contentSkip to conversation

mmc:host eSDHC: Remove duplicate code of enable_dma

PATCH New Haijun Zhang 1 participant 1 message Apr 7, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc:host eSDHC: Remove duplicate code of enable_dma

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

CC Anton Vorontsov <[email protected]>
---
 drivers/mmc/host/sdhci-of-esdhc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/mmc/host/sdhci-of-esdhc.c +0 -1
index 5e68adc..da3fb7b 100644
@@ -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
Signature · 1 line
1.7.0.4