mmc: core: Enable secure sanitize for eMMC4.5
R Raj Kumar [Wed, 4 Sep 2013 13:18:36 +0000 (18:18 +0530)]
Enabled secure sanitize operation for eMMC4.5 devices.

Bug 1360376

Change-Id: I54d7de1c1ec7ba0fb2cce3be3fe98e59de73f2b1
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/270115
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

drivers/mmc/core/mmc.c

index 5192af1..d447261 100644 (file)
@@ -459,7 +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] &
-                               ~(EXT_CSD_SEC_ER_EN | EXT_CSD_SEC_SANITIZE);
+                               ~EXT_CSD_SEC_ER_EN;
                }
 
                card->ext_csd.trim_timeout = 300 *