summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2012-01-05 17:20:18 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2012-01-05 17:20:18 +0530
commit5c44a3f0e7e7fc3b00c6d58921b322174b328152 (patch)
tree3bfaca912b352ae9e72f1fce79406f5beb99deea /drivers/mmc
parent18b3e7967257168128dc3a16906de2880985ef6c (diff)
mmc: host: sdhci: do not force mmc caps by default
Host controllers expose their capabilties for MMC. But the mmc core code used to set MMC_CAP_ERASE and MMC_CAP_CMD23 by default for all hosts. Ideally, these capabilities should only be exposed by the hosts and the core code should not set them by default. Bug 914934 Change-Id: I82610bd48cdfc4926487ad436855bc84876c7283 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 24713706295c..417fdd1721f2 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -2583,8 +2583,6 @@ int sdhci_add_host(struct sdhci_host *host)
mmc->max_discard_to = (1 << 27) / host->timeout_clk;
- mmc->caps |= MMC_CAP_ERASE | MMC_CAP_CMD23;
-
if (host->quirks & SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12)
host->flags |= SDHCI_AUTO_CMD12;