]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: atmel-mci: AP700x PDC is not connected to MCI
authorHein_Tibosch <hein_tibosch@yahoo.es>
Thu, 30 Aug 2012 16:34:27 +0000 (16:34 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 19 Sep 2012 08:29:59 +0000 (16:29 +0800)
commit156b317f29a076dabc69bfcce73da37eb75ef906
tree1f791a4bc3558ca3c7cd24d4438f314692c3398f
parent8af7f9b99b32ee0069347c8f245fce418a9b7768
mmc: atmel-mci: AP700x PDC is not connected to MCI

Earlier, atmel-mci was adapted to make use of the peripheral DMA
controller (PDC), in case normal DMA wouldn't work.
( http://comments.gmane.org/gmane.linux.kernel.mmc/9403 )

This works OK on ARM platforms (AT91), but it broke the driver
for AVR32, the AP700x.  Although the MCI has PDC support, the
connection is not done for AVR chips.

This patch makes the use of PDC depend on !CONFIG_AVR32.

Signed-off-by: Hein Tibosch <hein_tibosch@yahoo.es>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/atmel-mci-regs.h
drivers/mmc/host/atmel-mci.c