diff mbox

[2/2] ASoC: mxs-sgtl5000: add record function

Message ID 1313942566-21433-1-git-send-email-b29396@freescale.com (mailing list archive)
State New, archived
Headers show

Commit Message

Aisheng Dong Aug. 21, 2011, 4:02 p.m. UTC
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Liam Girdwood <lrg@ti.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Wolfram Sang <w.sang@pengutronix.de>
---
 sound/soc/mxs/mxs-sgtl5000.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

Comments

Liam Girdwood Aug. 22, 2011, 10:37 a.m. UTC | #1
On 21/08/11 17:02, Dong Aisheng wrote:
> Signed-off-by: Dong Aisheng <b29396@freescale.com>
> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
> Cc: Liam Girdwood <lrg@ti.com>
> Cc: Sascha Hauer <s.hauer@pengutronix.de>
> Cc: Wolfram Sang <w.sang@pengutronix.de>
> ---
>  sound/soc/mxs/mxs-sgtl5000.c |   10 +++++++++-
>  1 files changed, 9 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
> index a0d89c9..7fbeaec 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 = {
>  
>  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,
>  	},
>  };
>  

Acked-by: Liam Girdwood <lrg@ti.com>
Mark Brown Aug. 22, 2011, 10:36 p.m. UTC | #2
On Mon, Aug 22, 2011 at 12:02:46AM +0800, Dong Aisheng wrote:
> Signed-off-by: Dong Aisheng <b29396@freescale.com>

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index a0d89c9..7fbeaec 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 = {
 
 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,
 	},
 };