diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2010-10-19 16:06:36 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2010-10-19 16:06:36 -0700 |
commit | dc7ed6438a618f99357f906862dafbe9db9794d1 (patch) | |
tree | 949ebc8b1b2cc8df3e618932f323abd9ec9d7682 /drivers | |
parent | 7f91ddc13588a66d2268391cbbd73d8268f92ef1 (diff) |
mmc: sdhci: Enable MMC_CAP_ERASE
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 6709cfb5d4e8..61670e1534b0 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1871,6 +1871,8 @@ int sdhci_add_host(struct sdhci_host *host) if (host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION) mmc->caps |= MMC_CAP_NEEDS_POLL; + mmc->caps |= MMC_CAP_ERASE; + mmc->ocr_avail = 0; if (caps & SDHCI_CAN_VDD_330) mmc->ocr_avail |= MMC_VDD_32_33|MMC_VDD_33_34; |