From 6b0c9351426bdedcbe8fb81149a072de96991666 Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Tue, 24 Mar 2009 13:59:22 +0100 Subject: [PATCH] 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/boards/favr-32/setup.c | 7 ++++- arch/avr32/mach-at32ap/at32ap700x.c | 29 ++++++++++++++++----- arch/avr32/mach-at32ap/include/mach/board.h | 7 +++-- 3 files changed, 33 insertions(+), 10 deletions(-) diff --git a/arch/avr32/boards/favr-32/setup.c b/arch/avr32/boards/favr-32/setup.c index 745c408c2ac..cf6e4e5624d 100644 --- a/arch/avr32/boards/favr-32/setup.c +++ b/arch/avr32/boards/favr-32/setup.c @@ -22,6 +22,8 @@ #include #include +#include + #include