Skip to contentSkip to conversation

mmc: sdhci-brcmstb: Remove CQE quirk

PATCH In review Al Cooper 3 participants 3 messages Mar 25, 2021 – Mar 30, 2021

Subsystems (4)
lore
Share & tools
lore

Al Cooper

author maintainer
#0 lore raw

PATCH 1/1 mmc: sdhci-brcmstb: Remove CQE quirk

Remove the CQHCI_QUIRK_SHORT_TXFR_DESC_SZ quirk because the latest chips have this fixed and earlier chips have other CQE problems that prevent the feature from being enabled.

---
 drivers/mmc/host/sdhci-brcmstb.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/sdhci-brcmstb.c +0 -1
index f9780c65ebe9..f24623aac2db 100644
@@ -199,7 +199,6 @@ static int sdhci_brcmstb_add_host(struct sdhci_host *host,
 	if (dma64) {
 		dev_dbg(mmc_dev(host->mmc), "Using 64 bit DMA\n");
 		cq_host->caps |= CQHCI_TASK_DESC_SZ_128;
-		cq_host->quirks |= CQHCI_QUIRK_SHORT_TXFR_DESC_SZ;
 	}
 
 	ret = cqhci_init(cq_host, host->mmc, dma64);

base-commit: e138138003eb3b3d06cc91cf2e8c5dec77e2a31e

Signature · 1 line
2.17.1
#2 lore raw
In reply to Al Cooper
Quoted 6 lines · Al Cooper

Remove the CQHCI_QUIRK_SHORT_TXFR_DESC_SZ quirk because the latest chips have this fixed and earlier chips have other CQE problems that prevent the feature from being enabled.

Applied for next, thanks!

Kind regards
Uffe

Quoted 21 lines
---
 drivers/mmc/host/sdhci-brcmstb.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/sdhci-brcmstb.c +0 -1
index f9780c65ebe9..f24623aac2db 100644
@@ -199,7 +199,6 @@ static int sdhci_brcmstb_add_host(struct sdhci_host *host,
        if (dma64) {
                dev_dbg(mmc_dev(host->mmc), "Using 64 bit DMA\n");
                cq_host->caps |= CQHCI_TASK_DESC_SZ_128;
-               cq_host->quirks |= CQHCI_QUIRK_SHORT_TXFR_DESC_SZ;
        }
 
        ret = cqhci_init(cq_host, host->mmc, dma64);

base-commit: e138138003eb3b3d06cc91cf2e8c5dec77e2a31e --
2.17.1