]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: mxs-mmc: Enable MMC_CAP_ERASE
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 14 Mar 2019 16:18:22 +0000 (17:18 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000 (11:55 +0200)
commit8dcf48e5f4d7b25408fd8f9a4048ed5e23335a2c
tree6030ee8cd6861651c15f48bb169148dae38a8442
parent611025983b7976df0183390a63a2166411d177f1
mmc: mxs-mmc: Enable MMC_CAP_ERASE

According to the i.MX23/28 reference manuals both mmc interfaces support
the MMC_ERASE command. So enable this capability in the driver to allow
erase/discard/trim requests.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mxs-mmc.c