summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAlan Tull <r80115@freescale.com>2010-04-05 17:54:01 -0500
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 11:20:21 +0200
commit2dd7d6980a9f5f622e89183da684a6e150631f08 (patch)
treefb1ca82ff211cdf2d2aeaaf24b37f9acf6b5f0bf /sound
parent5b93cac16c87d49a100184ebfbfe7ed33d68d3d4 (diff)
ENGR00122274 mx23: spdif playback
Support S/PDIF playback on the mx23evk. Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/mxs_spdif.c1
-rw-r--r--sound/soc/mxs/Kconfig3
-rw-r--r--sound/soc/mxs/mxs-spdif-dai.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/sound/soc/codecs/mxs_spdif.c b/sound/soc/codecs/mxs_spdif.c
index a59f3a0fdefa..af47dcb547cf 100644
--- a/sound/soc/codecs/mxs_spdif.c
+++ b/sound/soc/codecs/mxs_spdif.c
@@ -30,6 +30,7 @@
#include <sound/soc-dapm.h>
#include <sound/initval.h>
#include <asm/dma.h>
+#include <mach/hardware.h>
#include "mxs_spdif.h"
diff --git a/sound/soc/mxs/Kconfig b/sound/soc/mxs/Kconfig
index 10bed6d4f436..213feb404a6b 100644
--- a/sound/soc/mxs/Kconfig
+++ b/sound/soc/mxs/Kconfig
@@ -42,7 +42,8 @@ config SND_MXS_SOC_ADC
config SND_MXS_SOC_EVK_DEVB_SPDIF
tristate "SoC SPDIF support for MXS EVK Development Board"
- depends on SND_MXS_SOC && ARCH_MX28
+ default n
+ depends on SND_MXS_SOC && ARCH_MXS
select SND_MXS_SOC_SPDIF_DAI
select SND_SOC_MXS_SPDIF
help
diff --git a/sound/soc/mxs/mxs-spdif-dai.c b/sound/soc/mxs/mxs-spdif-dai.c
index 5c9f93d73801..052c404c496d 100644
--- a/sound/soc/mxs/mxs-spdif-dai.c
+++ b/sound/soc/mxs/mxs-spdif-dai.c
@@ -22,6 +22,7 @@
#include <sound/pcm.h>
#include <sound/soc.h>
#include <mach/dma.h>
+#include <mach/hardware.h>
#include "../codecs/mxs_spdif.h"
#include "mxs-pcm.h"