From 6b0c9351426bdedcbe8fb81149a072de96991666 Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Tue, 24 Mar 2009 13:59:22 +0100 Subject: avr32: at32ap700x: setup DMA for ABDAC in the machine code This patch will adjust the setup the DMA controller for the Audio Bistream DAC in the at32ap700x machine code. This setup matches the new ALSA driver for the ABDAC. Tested on ATSTK1006 + ATSTK1000. This patch will setup the needed platform data for the Audio Bistream DAC used by the Favr-32 board. Signed-off-by: Hans-Christian Egtvedt [haavard.skinnemoen@atmel.com: fold board code update] Signed-off-by: Haavard Skinnemoen --- arch/avr32/mach-at32ap/at32ap700x.c | 29 ++++++++++++++++++++++------- arch/avr32/mach-at32ap/include/mach/board.h | 7 +++++-- 2 files changed, 27 insertions(+), 9 deletions(-) (limited to 'arch/avr32/mach-at32ap') diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index 402cae8f920..1bc6389b20b 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c @@ -26,6 +26,8 @@ #include #include +#include + #include