projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f91ddc
)
mmc: sdhci: Enable MMC_CAP_ERASE
author
Dmitry Shmidt
<dimitrysh@google.com>
Tue, 19 Oct 2010 23:06:36 +0000
(16:06 -0700)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Tue, 19 Oct 2010 23:06:36 +0000
(16:06 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/mmc/host/sdhci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci.c
b/drivers/mmc/host/sdhci.c
index 6709cfb5d4e881cf9ffa7b70101a8e247b0b055a..61670e1534b06957ef6970e8a9542fbda4a3183a 100644
(file)
--- 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;