Skip to content

Commit

Permalink
ASoC: mxs-sgtl5000: add record function
Browse files Browse the repository at this point in the history
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Dong Aisheng authored and Mark Brown committed Aug 22, 2011
1 parent 0bb98ba commit 78a262c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion sound/soc/mxs/mxs-sgtl5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,21 @@ static struct snd_soc_ops mxs_sgtl5000_hifi_ops = {

static struct snd_soc_dai_link mxs_sgtl5000_dai[] = {
{
.name = "HiFi",
.name = "HiFi Tx",
.stream_name = "HiFi Playback",
.codec_dai_name = "sgtl5000",
.codec_name = "sgtl5000.0-000a",
.cpu_dai_name = "mxs-saif.0",
.platform_name = "mxs-pcm-audio.0",
.ops = &mxs_sgtl5000_hifi_ops,
}, {
.name = "HiFi Rx",
.stream_name = "HiFi Capture",
.codec_dai_name = "sgtl5000",
.codec_name = "sgtl5000.0-000a",
.cpu_dai_name = "mxs-saif.1",
.platform_name = "mxs-pcm-audio.1",
.ops = &mxs_sgtl5000_hifi_ops,
},
};

Expand Down

0 comments on commit 78a262c

Please sign in to comment.