]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Enable erase/discard/trim support for all mmc hosts
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 8 May 2020 11:28:53 +0000 (13:28 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:22:14 +0000 (11:22 +0200)
commit588206b2d572cd0b3ccbdcf092cc58fabafcbc27
tree48ca90a74c94ee8f17c6689517da8d4b2430b6c0
parentf7123944e4971fd402020f187484922578487988
mmc: core: Enable erase/discard/trim support for all mmc hosts

Step by step, mmc host drivers and the mmc core have been improved in
regards to support erase/discard/trim operations. We have now reached a
point when it no longer seems reasonable to use an opt-in approach to
enable the functionality. Therefore, let's switch to make the operations
always supported.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20200508112853.23525-1-ulf.hansson@linaro.org
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mmc/core/core.c