]> git.baikalelectronics.ru Git - kernel.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)
commit8c67cda0f8e95983d0ba09c07dcd994c39ee898c
tree6030ee8cd6861651c15f48bb169148dae38a8442
parent14293048ea6cf865930e018fddcb3101f880a425
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