summaryrefslogtreecommitdiff
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2014-05-07 17:26:40 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:47:44 +0900
commitc2ac5419aee8eabc16ceedf4c57198d959ea12f0 (patch)
tree3a2db0f4350e684d32389c13dfc396f9cedb364c /drivers/mmc/host
parentdc205dd2c7fb8b5e753658e71b3d80934ac7a31d (diff)
downloadlinux-3.10-c2ac5419aee8eabc16ceedf4c57198d959ea12f0.tar.gz
linux-3.10-c2ac5419aee8eabc16ceedf4c57198d959ea12f0.tar.bz2
linux-3.10-c2ac5419aee8eabc16ceedf4c57198d959ea12f0.zip
mmc: dw_mmc-exynos: add the MMC_CAP_ERASE capability
To use the erase command, add the MMC_CAP_ERASE capability by default. Change-Id: Ia9c600eafb08bebb7a60b3b3147a8c8baf303cd0 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/dw_mmc-exynos.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c
index 1d0291b6325..26c8fc692f7 100644
--- a/drivers/mmc/host/dw_mmc-exynos.c
+++ b/drivers/mmc/host/dw_mmc-exynos.c
@@ -154,11 +154,11 @@ static int dw_mci_exynos_parse_dt(struct dw_mci *host)
/* Common capabilities of Exynos4/Exynos5 SoC */
static unsigned long exynos_dwmmc_caps[4] = {
- MMC_CAP_UHS_DDR50 | MMC_CAP_1_8V_DDR |
+ MMC_CAP_UHS_DDR50 | MMC_CAP_1_8V_DDR | MMC_CAP_ERASE |
MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23,
- MMC_CAP_CMD23,
- MMC_CAP_CMD23,
- MMC_CAP_CMD23,
+ MMC_CAP_ERASE | MMC_CAP_CMD23,
+ MMC_CAP_ERASE | MMC_CAP_CMD23,
+ MMC_CAP_ERASE | MMC_CAP_CMD23,
};
static unsigned long exynos_dwmmc_caps2[4] = {