mmc: atmel-mci: DMA can be used with other controllers
authorHein_Tibosch <hein_tibosch@yahoo.es>
Thu, 30 Aug 2012 16:34:38 +0000 (16:34 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 3 Oct 2012 14:05:22 +0000 (10:05 -0400)
commitccdfe6122f61b40592820d48b4cde021295418a0
tree79863d1a3442cee855f3e693d7d6cc7923b462a2
parentac940938df138acd241dc5ae9a933416da036a35
mmc: atmel-mci: DMA can be used with other controllers

After the latest changes to atmel-mci, it could not be used with
DMA on the AVR32 platform. This patch will allow to use DMA again
and it will avoid access to MCI register ATMCI_DMA.

Even if the IP version is lower than v3xx and doesn't have the DMA
configuration register, DMA transfers can be used with a different
controller than the Atmel AHB DMA one. For instance, some AVR chips
use the Synopsys DesignWare AHB DMA controller.

Signed-off-by: Hein Tibosch <hein_tibosch@yahoo.es>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/atmel-mci.c