From patchwork Wed Jun 29 18:00:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [3/5] ASoC: atmel-ssc: dmaengine usage switch depending on cpu Date: Wed, 29 Jun 2011 08:00:17 -0000 From: Nicolas Ferre X-Patchwork-Id: 102637 Message-Id: To: alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com, lrg@ti.com Cc: Nicolas Ferre , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Signed-off-by: Nicolas Ferre Signed-off-by: Uwe Kleine-König --- include/linux/atmel-ssc.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/atmel-ssc.h b/include/linux/atmel-ssc.h index 2bab4b4..52b4c20 100644 --- a/include/linux/atmel-ssc.h +++ b/include/linux/atmel-ssc.h @@ -3,6 +3,7 @@ #include #include +#include struct ssc_device { struct list_head list; @@ -310,4 +311,6 @@ void ssc_free(struct ssc_device *ssc); #define ssc_readl(base, reg) __raw_readl(base + SSC_##reg) #define ssc_writel(base, reg, value) __raw_writel((value), base + SSC_##reg) +#define ssc_use_dmaengine() cpu_is_at91sam9x5() + #endif /* __INCLUDE_ATMEL_SSC_H */