S3C: sdhci: Enable ADMA feature in S3C sdhci controller.
Subsystems (3)
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
@@ -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
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.
Signed-off-by Thomas Abraham <[email protected]>
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@@ -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.
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.
Signed-off-by Thomas Abraham <[email protected]>
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