From: Jaehoon Chung Date: Thu, 26 Feb 2015 07:20:46 +0000 (+0900) Subject: mmc: dw_mmc: enable mmc-erase capability X-Git-Tag: submit/tizen/20150416.081342~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c5d00bb5de62f5ed29c14da89387be149ebd8b8;p=platform%2Fkernel%2Flinux-exynos.git mmc: dw_mmc: enable mmc-erase capability To use erase feature(DISCARD or SANITIZE or ERASE, etc..), set MMC_CAP_ERASE. (In future, this feature should be enabled by default. But before enable by default, it needs to fix the some erase issue - discussing at Mailing-list.) Signed-off-by: Jaehoon Chung --- diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 0a56d766978f..4736cd620ea0 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -490,7 +490,8 @@ int dw_mci_exynos_prepare_hs400_tuning(struct dw_mci *host, /* Common capabilities of Exynos4/Exynos5 SoC */ static unsigned long exynos_dwmmc_caps[4] = { - MMC_CAP_1_8V_DDR | MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23, + MMC_CAP_1_8V_DDR | MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23 | + MMC_CAP_ERASE, MMC_CAP_CMD23, MMC_CAP_CMD23, MMC_CAP_CMD23,