mmc: msm_sdcc: enable the sanitize capability
the sanitize capability will be enabled, for the cards that support it
Change-Id: I9c92a4d340458787c486ec7f9482db78beffdc48
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index 927efdd..40f0f33 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -5022,6 +5022,8 @@
mmc->caps2 |= MMC_CAP2_PACKED_WR;
mmc->caps2 |= MMC_CAP2_PACKED_WR_CONTROL;
mmc->caps2 |= (MMC_CAP2_BOOTPART_NOACC | MMC_CAP2_DETECT_ON_ERR);
+ mmc->caps2 |= MMC_CAP2_SANITIZE;
+
if (pdev->dev.of_node) {
if (of_get_property((&pdev->dev)->of_node,
"qcom,sdcc-hs200", NULL))