To use the erase command, add the MMC_CAP_ERASE capability by default.
Signed-off-by: Jaehoon Chung <[email protected]>
---
drivers/mmc/host/dw_mmc-exynos.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c
index 0fbc53a..46fafd8 100644
--- a/drivers/mmc/host/dw_mmc-exynos.c
+++ b/drivers/mmc/host/dw_mmc-exynos.c
@@ -386,10 +386,11 @@ static int dw_mci_exynos_execute_tuning(struct
dw_mci_slot *slot, u32 opcode,
/* 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_CMD23,
- MMC_CAP_CMD23,
- MMC_CAP_CMD23,
+ MMC_CAP_1_8V_DDR | MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23 |
+ MMC_CAP_ERASE,
+ MMC_CAP_CMD23 | MMC_CAP_ERASE,
+ MMC_CAP_CMD23 | MMC_CAP_ERASE,
+ MMC_CAP_CMD23 | MMC_CAP_ERASE,
};
static const struct dw_mci_drv_data exynos_drv_data = {
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html