summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTalel Shenhar <tatias@codeaurora.org>2015-06-24 15:49:30 +0300
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:26:52 -0700
commit7f7fbf659c4fbd5a364d0e58efc1d1dcf88e2ac5 (patch)
tree5c2ea37485499f48fdf29469dbcf9ed1d50aa00f
parent2941d9d5bdbabca9a8302aa1571bdf85d00300a0 (diff)
mmc: sdhci-msm: avoid using NOP ADMA descriptor for EOT
Qualcomm SDCC doesn't need NOP descriptor for End of transfer (EOT). This change insure that no NOP descriptor will be sent in order to notify EOT, instead, the EOT will be marked for the last descriptor. Change-Id: Ia670bc901af2196a415c2aa54357704949a7b112 Signed-off-by: Talel Shenhar <tatias@codeaurora.org>
-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 c9ca4e0d4ef2..dfc6b0de3a61 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -3175,6 +3175,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION;
host->quirks |= SDHCI_QUIRK_SINGLE_POWER_WRITE;
host->quirks |= SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN;
+ host->quirks |= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC;
host->quirks2 |= SDHCI_QUIRK2_ALWAYS_USE_BASE_CLOCK;
host->quirks2 |= SDHCI_QUIRK2_USE_MAX_DISCARD_SIZE;
host->quirks2 |= SDHCI_QUIRK2_IGNORE_DATATOUT_FOR_R1BCMD;