]> 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)
commit6258c4e05739818d775eb9f5370dc04261ad6338
tree6030ee8cd6861651c15f48bb169148dae38a8442
parent1ce61ddffe8fea384bcf502a4c62c8f71e0169c4
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