Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c4c7146 authored by Jaehoon Chung's avatar Jaehoon Chung Committed by Ulf Hansson
Browse files

mmc: dw_mmc: rockchip: unset the MMC_CAP_ERASE flag



In dw_mmc.c, it's enabled by default.
It doesn't need to set MMC_CAP_ERASE in rockchip anymore.

Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Acked-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 6024e166
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -294,10 +294,10 @@ static int dw_mci_rockchip_init(struct dw_mci *host)

/* Common capabilities of RK3288 SoC */
static unsigned long dw_mci_rk3288_dwmmc_caps[4] = {
	MMC_CAP_ERASE | MMC_CAP_CMD23,
	MMC_CAP_ERASE | MMC_CAP_CMD23,
	MMC_CAP_ERASE | MMC_CAP_CMD23,
	MMC_CAP_ERASE | MMC_CAP_CMD23,
	MMC_CAP_CMD23,
	MMC_CAP_CMD23,
	MMC_CAP_CMD23,
	MMC_CAP_CMD23,
};

static const struct dw_mci_drv_data rk2928_drv_data = {