From 0b56648089c3e1ad0fe211c772f86544281a1bd5 Mon Sep 17 00:00:00 2001 From: Pavan Anamula Date: Mon, 24 Aug 2015 18:56:22 +0530 Subject: 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 Signed-off-by: Pavan Anamula [subhashj@codeaurora.org: fixed trivial merge conflicts] Signed-off-by: Subhash Jadavani --- include/linux/mmc/host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/mmc') 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 -- cgit v1.2.3