History

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.

Ulf Hansson committed 6 years ago

Commit 1be64c71 parent 94fe25816 files · +12 −25Browse files

Showing the changes to include/linux (1 of 16 files). Show all

Unified · Split

include/linux/mmc/host.h+0−1
@@ -321,7 +321,6 @@ struct mmc_host { · 320 unmodified lines
321321 #define MMC_CAP_AGGRESSIVE_PM (1 << 7) /* Suspend (e)MMC/SD at idle */
322322 #define MMC_CAP_NONREMOVABLE (1 << 8) /* Nonremovable e.g. eMMC */
323323 #define MMC_CAP_WAIT_WHILE_BUSY (1 << 9) /* Waits while card is busy */
324−#define MMC_CAP_ERASE (1 << 10) /* Allow erase/trim commands */
325324 #define MMC_CAP_3_3V_DDR (1 << 11) /* Host supports eMMC DDR 3.3V */
326325 #define MMC_CAP_1_8V_DDR (1 << 12) /* Host supports eMMC DDR 1.8V */
327326 #define MMC_CAP_1_2V_DDR (1 << 13) /* Host supports eMMC DDR 1.2V */