summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2013-05-29 15:52:10 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-27 10:28:42 -0700
commitb2f263c3ea2f0dd31343b10b6df5b46f0cddb7f4 (patch)
treec817a02483b61ff6bc3fdd03e76e37ba4268f402 /drivers/mmc
parentcec2ab9ba3a05f03fa390c66cc77ef0e8ef36529 (diff)
mmc: sdhci-msm: enable asynchronous interrupt support in 4-bit mode
SDIO 3.0 specification has added the support for asynchronous interrupt period during which card allows the clock to be gated off. As SDCC driver is capable of handling the asynchronous interrupt, advertise MMC_CAP2_ASYNC_SDIO_IRQ_4BIT_MODE capability. Change-Id: Id5a86bc70b7b798b23be3a0fc0d59b2db05e0409 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-msm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index d08a2bb718d5..ed64d1846d61 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -2313,6 +2313,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
msm_host->mmc->caps2 |= MMC_CAP2_CACHE_CTRL;
msm_host->mmc->caps2 |= MMC_CAP2_POWEROFF_NOTIFY;
msm_host->mmc->caps2 |= MMC_CAP2_CLK_SCALE;
+ msm_host->mmc->caps2 |= MMC_CAP2_ASYNC_SDIO_IRQ_4BIT_MODE;
if (msm_host->pdata->nonremovable)
msm_host->mmc->caps |= MMC_CAP_NONREMOVABLE;