summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenkat Gopalakrishnan <venkatg@codeaurora.org>2014-12-16 18:26:25 -0800
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:26:05 -0700
commit4db29d8d463545acb5dfa8df5515df2af115148d (patch)
treedfb169425a5662ef9ca2eea3a93fe19da9efe971
parentffd18b69b79b9293ecce0067884ec66ecb2fa425 (diff)
mmc: sdhci-msm: Adjust host capabilities
As part of 3.14 kernel upgrade some capabilities have been removed, added and renamed. Make those adjusments in the sdhci-msm platform driver. Change-Id: Icb14a3e997875e3ab094ef51a2307972d0788a89 Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
-rw-r--r--drivers/mmc/host/sdhci-msm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 95564e119b6b..fea88d15f2f6 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -3082,12 +3082,11 @@ static int sdhci_msm_probe(struct platform_device *pdev)
msm_host->mmc->caps2 |= msm_host->pdata->caps2;
msm_host->mmc->caps2 |= MMC_CAP2_PACKED_WR;
msm_host->mmc->caps2 |= MMC_CAP2_PACKED_WR_CONTROL;
- 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_POWEROFF_NOTIFY;
+ msm_host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC;
+ msm_host->mmc->caps2 |= MMC_CAP2_FULL_PWR_CYCLE;
msm_host->mmc->caps2 |= MMC_CAP2_CLK_SCALE;
msm_host->mmc->caps2 |= MMC_CAP2_ASYNC_SDIO_IRQ_4BIT_MODE;
+ msm_host->mmc->caps2 |= MMC_CAP2_HS400_POST_TUNING;
msm_host->mmc->pm_caps |= MMC_PM_KEEP_POWER;
if (msm_host->pdata->nonremovable)