summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2013-03-29 11:24:56 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-27 10:28:32 -0700
commitf55253f3e8b7b8adec1f7d582c44331d6919f671 (patch)
tree10a6725b181da31d6b27d42973bf5dbff4402afd /drivers/mmc
parentc071dd5ae5fd4d69e4d73edc034a77f5af8c7355 (diff)
mmc: sdhci-msm: disable BKOPS feature
The BKOPS feature is supported for eMMC cards of version 4.41 and higher. The BKOPS feature is one time programmable and once it was enabled on a certain MMC card is cannot be disabled. LA builds are often being used to verify phones that are targeted for other HLOSes. Since not all the HLOSes implement the BKOPS features, enabling this feature by default can cause instability when the phone will be used by HLOSes other than LA. Change-Id: I7b9eab0d04a86dfeaf7565dcda8bc9d2035fe02d Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-msm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 8c077135d1c2..7c62538ed0ee 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -2183,7 +2183,6 @@ static int sdhci_msm_probe(struct platform_device *pdev)
msm_host->mmc->caps2 |= (MMC_CAP2_BOOTPART_NOACC |
MMC_CAP2_DETECT_ON_ERR);
msm_host->mmc->caps2 |= MMC_CAP2_CACHE_CTRL;
- msm_host->mmc->caps2 |= MMC_CAP2_INIT_BKOPS;
msm_host->mmc->caps2 |= MMC_CAP2_POWEROFF_NOTIFY;
msm_host->mmc->caps2 |= MMC_CAP2_CLK_SCALE;