aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mxs
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2011-08-21 12:02:46 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-22 18:36:15 -0400
commit78a262c87157bc049a1b08faf4762c606b24fed9 (patch)
tree91a81443e4b115e2cad2a400b933e8cddf985827 /sound/soc/mxs
parent0bb98ba2b045e53b4724f34509455b7653c329d3 (diff)
ASoC: mxs-sgtl5000: add record function
Signed-off-by: Dong Aisheng <b29396@freescale.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/mxs')
-rw-r--r--sound/soc/mxs/mxs-sgtl5000.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index a0d89c93df0f..7fbeaec06eb4 100644
--- a/sound/soc/mxs/mxs-sgtl5000.c
+++ b/sound/soc/mxs/mxs-sgtl5000.c
@@ -85,13 +85,21 @@ static struct snd_soc_ops mxs_sgtl5000_hifi_ops = {
85 85
86static struct snd_soc_dai_link mxs_sgtl5000_dai[] = { 86static struct snd_soc_dai_link mxs_sgtl5000_dai[] = {
87 { 87 {
88 .name = "HiFi", 88 .name = "HiFi Tx",
89 .stream_name = "HiFi Playback", 89 .stream_name = "HiFi Playback",
90 .codec_dai_name = "sgtl5000", 90 .codec_dai_name = "sgtl5000",
91 .codec_name = "sgtl5000.0-000a", 91 .codec_name = "sgtl5000.0-000a",
92 .cpu_dai_name = "mxs-saif.0", 92 .cpu_dai_name = "mxs-saif.0",
93 .platform_name = "mxs-pcm-audio.0", 93 .platform_name = "mxs-pcm-audio.0",
94 .ops = &mxs_sgtl5000_hifi_ops, 94 .ops = &mxs_sgtl5000_hifi_ops,
95 }, {
96 .name = "HiFi Rx",
97 .stream_name = "HiFi Capture",
98 .codec_dai_name = "sgtl5000",
99 .codec_name = "sgtl5000.0-000a",
100 .cpu_dai_name = "mxs-saif.1",
101 .platform_name = "mxs-pcm-audio.1",
102 .ops = &mxs_sgtl5000_hifi_ops,
95 }, 103 },
96}; 104};
97 105