summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorHaijun Zhang <haijun.zhang@freescale.com>2013-04-07 05:56:02 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-04-09 19:57:06 (GMT)
commit3746e4656cca2c81be1cea3cd15db230d50184ad (patch)
tree8a8a4c64efe25d7ba315d6b447e8843dce0f070b /drivers/mmc
parent167758b912ac03fa5e10be0d1596ad98fa7781ec (diff)
downloadlinux-fsl-qoriq-3746e4656cca2c81be1cea3cd15db230d50184ad.tar.xz
eSDHC: Remove duplicate code of sdhci resume
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.zhang@freescale.com> Change-Id: I9b510a0cce3050dc75aac521232c92869174f66f Reviewed-on: http://git.am.freescale.net:8181/1092 Reviewed-by: Xie Xiaobo-R63061 <X.Xie@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-of-esdhc.c1
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 0da8b48..60331ce 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -221,7 +221,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