diff options
author | Ken Sumrall <ksumrall@android.com> | 2011-08-17 21:12:55 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2012-03-21 22:14:21 -0700 |
commit | fcda74d8e8ce96cbbda78b430ad2cac77887799b (patch) | |
tree | 79b244aa099e36c12f299e7d991c873bb42bbc1d | |
parent | 6b5f88c97f63a154c63a3a091d842c19e84041d9 (diff) |
mmc: sdhci: Enable MMC_CAP_ERASE for the tegra sdhci controller
Even if the card/emmc chip claims to support the Erase command,
the command won't work unless the controller is also configured
to support it.
Change-Id: Ic45fcd88dd3b3381677d907d31fa3a56bb697107
Signed-off-by: Ken Sumrall <ksumrall@android.com>
Rebase-Id: Ra7472026260294afa7d63335e7db29cadc9f1f9e
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index e1f2eeb468a2..c1b19e5de3e8 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -347,6 +347,7 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev) host->mmc->pm_caps = plat->pm_flags; + host->mmc->caps |= MMC_CAP_ERASE; if (plat->is_8bit) host->mmc->caps |= MMC_CAP_8_BIT_DATA; |