mmc: atmel-mci: restore dma on AVR32
authorMans Rullgard <mans@mansr.com>
Sat, 9 Jan 2016 12:45:10 +0000 (12:45 +0000)
committerHans-Christian Egtvedt <egtvedt@samfundet.no>
Thu, 14 Jan 2016 12:40:13 +0000 (13:40 +0100)
commit74843787158e9dff249f0528e7d4806102cc2c26
treec5a8b3c384392ac82867c4883c6e8df37152190e
parenta193f07d1e3cda30513914b1e88967419a9dbd8c
mmc: atmel-mci: restore dma on AVR32

Commit ecb89f2f5f3e7 ("mmc: atmel-mci: remove compat for non DT board
when requesting dma chan") broke dma on AVR32 and any other boards not
using DT.  This restores a fallback mechanism for such cases.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
arch/avr32/mach-at32ap/at32ap700x.c
drivers/mmc/host/atmel-mci.c
include/linux/atmel-mci.h