summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-omap.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2018-04-27 14:47:11 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2018-05-03 10:35:21 +0300
commit5bc2bda54d49cb2dbf9387b47feb25c32d20e216 (patch)
tree4255d4225333541e00479f8628b82ae2c94e44e2 /drivers/mmc/host/sdhci-omap.c
parent0ec4ee3c9b9755b28fd2e89b2ceaae6f15403368 (diff)
downloadlinux-5bc2bda54d49cb2dbf9387b47feb25c32d20e216.tar.xz
mmc: sdhci-omap: Remove setting ADMA capability in driver
sdhci can directly get ADMA capability from MMCHS_CAPA register. Remove explicitly setting ADMA here as some instances might not have ADMA enabled. (sdhci_read_caps() is also removed from here since sdhci_setup_host() invokes it). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-omap.c')
-rw-r--r--drivers/mmc/host/sdhci-omap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c
index e7e43f2ae224..78f3ceea570e 100644
--- a/drivers/mmc/host/sdhci-omap.c
+++ b/drivers/mmc/host/sdhci-omap.c
@@ -923,9 +923,6 @@ static int sdhci_omap_probe(struct platform_device *pdev)
host->mmc_host_ops.card_busy = sdhci_omap_card_busy;
host->mmc_host_ops.execute_tuning = sdhci_omap_execute_tuning;
- sdhci_read_caps(host);
- host->caps |= SDHCI_CAN_DO_ADMA2;
-
ret = sdhci_setup_host(host);
if (ret)
goto err_put_sync;