diff mbox

mmc: enable ERASE caps for mvsdio host

Message ID 1300387346-1938-1-git-send-email-sascha-ml-reply-to-2011-2@silbe.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sascha Silbe March 17, 2011, 6:42 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
index eeb1147..758251d 100644
--- a/drivers/mmc/host/mvsdio.c
+++ b/drivers/mmc/host/mvsdio.c
@@ -735,7 +735,8 @@  static int __init mvsd_probe(struct platform_device *pdev)

 	mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
 	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ |
-		    MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
+		    MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED |
+		    MMC_CAP_ERASE;

 	mmc->f_min = DIV_ROUND_UP(host->base_clock, MVSD_BASE_DIV_MAX);
 	mmc->f_max = maxfreq;