summaryrefslogtreecommitdiffstats
path: root/sound/soc/blackfin/bf5xx-sport.h
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2008-11-18 09:18:17 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-18 12:40:19 +0100
commit67f854b910613eeffec4fe71e35c0cd8c32c82ec (patch)
treee544eb4033514ec44c46e21323d0402f450ac84d /sound/soc/blackfin/bf5xx-sport.h
parentASoC: AD1980 codec: add multi-channel function support (diff)
downloadlinux-67f854b910613eeffec4fe71e35c0cd8c32c82ec.tar.xz
linux-67f854b910613eeffec4fe71e35c0cd8c32c82ec.zip
ASoC: Blackfin: add multi-channel function support
This patch provides a option for users to enable multi-channel function support in Blackfin ASoC driver. Because Blackfin is without MMU, it is easy for us and the user to enable this function at compiling stage not dynamically on the fly. Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/blackfin/bf5xx-sport.h')
-rw-r--r--sound/soc/blackfin/bf5xx-sport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/blackfin/bf5xx-sport.h b/sound/soc/blackfin/bf5xx-sport.h
index fcadcc081f7f..2e63dea73e9c 100644
--- a/sound/soc/blackfin/bf5xx-sport.h
+++ b/sound/soc/blackfin/bf5xx-sport.h
@@ -116,7 +116,7 @@ struct sport_device {
void *err_data;
unsigned char *tx_dma_buf;
unsigned char *rx_dma_buf;
-#ifdef CONFIG_SND_MMAP_SUPPORT
+#ifdef CONFIG_SND_BF5XX_MMAP_SUPPORT
dma_addr_t tx_dma_phy;
dma_addr_t rx_dma_phy;
int tx_pos;/*pcm sample count*/