Skip to contentSkip to conversation

S3C: sdhci: Enable ADMA feature in S3C sdhci controller.

PATCH-Resend Thomas Abraham 3 participants 3 messages Jan 28, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

This patch enables ADMA feature in S3C SDHCI controller driver. This patch depends on the following patch.

[PATCH] sdhci: Add new quirk in sdhci driver and update ADMA descriptor build.

---
 drivers/mmc/host/sdhci-s3c.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
drivers/mmc/host/sdhci-s3c.c +1 -6
index 7400ba0..03f7e3b 100644
@@ -341,12 +341,7 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
 	host->irq = irq;
 
 	/* Setup quirks for the controller */
-
-	/* Currently with ADMA enabled we are getting some length
-	 * interrupts that are not being dealt with, do disable
-	 * ADMA until this is sorted out. */
-	host->quirks |= SDHCI_QUIRK_BROKEN_ADMA;
-	host->quirks |= SDHCI_QUIRK_32BIT_ADMA_SIZE;
+	host->quirks |= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC;
 
 #ifndef CONFIG_MMC_SDHCI_S3C_DMA
 
Signature · 1 line
1.5.3.4
maintainer Acked-by
#1 lore raw
Quoted 6 lines · Thomas Abraham

This patch enables ADMA feature in S3C SDHCI controller driver. This patch depends on the following patch.

[PATCH] sdhci: Add new quirk in sdhci driver and update ADMA descriptor build.

Quoted 25 lines
---
 drivers/mmc/host/sdhci-s3c.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
drivers/mmc/host/sdhci-s3c.c +1 -6
index 7400ba0..03f7e3b 100644
@@ -341,12 +341,7 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
 	host->irq = irq;
 
 	/* Setup quirks for the controller */
-
-	/* Currently with ADMA enabled we are getting some length
-	 * interrupts that are not being dealt with, do disable
-	 * ADMA until this is sorted out. */
-	host->quirks |= SDHCI_QUIRK_BROKEN_ADMA;
-	host->quirks |= SDHCI_QUIRK_32BIT_ADMA_SIZE;
+	host->quirks |= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC;
 
 #ifndef CONFIG_MMC_SDHCI_S3C_DMA
 
Signature · 1 line
1.5.3.4
Signature · 5 lines
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.
#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Ben" == Ben Dooks <[email protected]> writes:

Quoted 6 lines · Thomas Abraham
Quoted 6 lines

This patch enables ADMA feature in S3C SDHCI controller driver. This patch depends on the following patch.

[PATCH] sdhci: Add new quirk in sdhci driver and update ADMA descriptor build.

Ben> Acked-by: Ben Dooks <[email protected]>

If this solves the DMA issues, shouldn't we get rid of the CONFIG_MMC_SDHCI_S3C_DMA kconfig and just always use DMA?

Signature · 1 line
Bye, Peter Korsgaard