summaryrefslogtreecommitdiff
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorPavan Anamula <pavana@codeaurora.org>2015-08-24 18:56:22 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:27:17 -0700
commit0b56648089c3e1ad0fe211c772f86544281a1bd5 (patch)
tree13d6308fb62b5b2be1935a1f61f8a73e11dd5cf8 /include/linux/mmc
parenta264a011c707af96a0e0465886b4d699696b25fe (diff)
mmc: host: add support to allow SANITIZE operation
SANITIZE is an operation performed by the storage device and its purpose is to delete its unmap memory regions. This change adds support for the SANITIZE capability. Change-Id: I58b647fb576c694aaa16c1e827d0784d4a5b4456 Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> Signed-off-by: Pavan Anamula <pavana@codeaurora.org> [subhashj@codeaurora.org: fixed trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index aa9df4ce96e5..001cde15242b 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -438,7 +438,7 @@ struct mmc_host {
#define MMC_CAP2_HS400_POST_TUNING (1 << 22)
#define MMC_CAP2_NONHOTPLUG (1 << 25) /*Don't support hotplug*/
#define MMC_CAP2_CMD_QUEUE (1 << 26) /* support eMMC command queue */
-
+#define MMC_CAP2_SANITIZE (1 << 27) /* Support Sanitize */
mmc_pm_flag_t pm_caps; /* supported pm features */
#ifdef CONFIG_MMC_CLKGATE