From 32cff5afbb263eb624a50d4e58a2a7f718e2aeff Mon Sep 17 00:00:00 2001 From: Harry Hong Date: Mon, 20 Oct 2014 19:44:09 -0700 Subject: Revert "mmc: core: disable sanitize operation." This reverts commit 625cef6510b7c65fd043738fce577e017b415c0d. Bug 1567183 Change-Id: I02f2b3cd20cc492737641632d9dace2a9702d2c8 Signed-off-by: Harry Hong Reviewed-on: http://git-master/r/559682 --- drivers/mmc/core/Kconfig | 6 ------ drivers/mmc/core/mmc.c | 6 +----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/mmc/core/Kconfig b/drivers/mmc/core/Kconfig index fbf3ed14460e..61a06faa06c4 100644 --- a/drivers/mmc/core/Kconfig +++ b/drivers/mmc/core/Kconfig @@ -54,9 +54,3 @@ config MMC_FREQ_SCALING device frequency dynamically. Enable this config only if there is a custom implementation to determine the frequency using the device stats. - -config SEC_SANITIZE_IGNORE - bool "Disable Sanitize" - default N - help - If you say Y here, Disable Sanitize. diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index cf57bccf9be3..91105939f3c9 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -459,11 +459,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd) if (card->ext_csd.rev == 6) { card->ext_csd.sec_feature_support = ext_csd[EXT_CSD_SEC_FEATURE_SUPPORT] & -#if defined(CONFIG_SEC_SANITIZE_IGNORE) - ~(EXT_CSD_SEC_ER_EN | EXT_CSD_SEC_SANITIZE); -#else - ~(EXT_CSD_SEC_ER_EN); -#endif + ~EXT_CSD_SEC_ER_EN; } card->ext_csd.trim_timeout = 300 * -- cgit v1.2.3