mmc: dw_mmc: set to MMC_CAP_ERASE by default
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 15 Jul 2016 01:54:50 +0000 (10:54 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:50 +0000 (10:34 +0200)
commit6024e16654c1e1a2475e848d735963d05a12dba9
tree6b91dcd9309e43fc305d705faf339fdb41ba4eac
parent6ae3e537eab9f560b516b001eb89f0cd568bdced
mmc: dw_mmc: set to MMC_CAP_ERASE by default

This flag needs to use the trim/discard/erase commands.
dwmmc controller enables this flag by default.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c