]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mmc: atmel-mci: remove the need for CONFIG_MMC_ATMELMCI_DMA
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 15 Mar 2012 13:28:58 +0000 (14:28 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 26 Mar 2012 12:01:33 +0000 (14:01 +0200)
This Kconfig option is not needed anymore, so remove it.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
drivers/mmc/host/Kconfig
drivers/mmc/host/atmel-mci.c

index 455a414069a03f4779793f06288916a5ab61380c..a6fc44a294cdb4bafd9eb1a02ac84f19b4bbecb1 100644 (file)
@@ -288,16 +288,6 @@ config MMC_ATMELMCI
 
          If unsure, say N.
 
-config MMC_ATMELMCI_DMA
-       bool "Atmel MCI DMA support"
-       depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE
-       help
-         Say Y here to have the Atmel MCI driver use a DMA engine to
-         do data transfers and thus increase the throughput and
-         reduce the CPU utilization.
-
-         If unsure, say N.
-
 config MMC_IMX
        tristate "Motorola i.MX Multimedia Card Interface support"
        depends on ARCH_MX1
index e4449a54ae8f9fc68c3d9f719fe3a09e3e028adf..b5693fd4ede6494f72b45a0e96ad10d6e63956c5 100644 (file)
@@ -2164,10 +2164,8 @@ static int __exit atmci_remove(struct platform_device *pdev)
        atmci_readl(host, ATMCI_SR);
        clk_disable(host->mck);
 
-#ifdef CONFIG_MMC_ATMELMCI_DMA
        if (host->dma.chan)
                dma_release_channel(host->dma.chan);
-#endif
 
        free_irq(platform_get_irq(pdev, 0), host);
        iounmap(host->regs);