]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: host: Drop redundant MMC_CAP_ERASE
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 8 May 2020 11:29:02 +0000 (13:29 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:22:14 +0000 (11:22 +0200)
commit83731989bbbaf7bed8cb66ed3d512a7b85fda0a5
tree9e3454ba21fdcb7a979c51c0d6ab36949cd9482f
parent588206b2d572cd0b3ccbdcf092cc58fabafcbc27
mmc: host: Drop redundant MMC_CAP_ERASE

The MMC_CAP_ERASE bit is no longer used by the mmc core as erase, discard
and trim operations are now always supported. Therefore, drop the bit and
move all mmc hosts away from using it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Link: https://lore.kernel.org/r/20200508112902.23575-1-ulf.hansson@linaro.org
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
16 files changed:
drivers/mmc/host/bcm2835.c
drivers/mmc/host/cavium.c
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/meson-mx-sdio.c
drivers/mmc/host/mtk-sd.c
drivers/mmc/host/mvsdio.c
drivers/mmc/host/mxs-mmc.c
drivers/mmc/host/omap.c
drivers/mmc/host/omap_hsmmc.c
drivers/mmc/host/rtsx_pci_sdmmc.c
drivers/mmc/host/rtsx_usb_sdmmc.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sunxi-mmc.c
drivers/mmc/host/tmio_mmc_core.c
drivers/staging/greybus/sdio.c
include/linux/mmc/host.h