From: Richard Genoud <richard.genoud@gmail.com>
To: Bo Shen <voice.shen@atmel.com>
Cc: zql@glomationinc.com, nicolas.ferre@atmel.com,
alsa-devel@alsa-project.org, linux-sound@vger.kernel.org,
broonie@kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] ASoC: sam9x5_wm8731: change to work in DSP A mode
Date: Wed, 04 Dec 2013 12:38:12 +0100 [thread overview]
Message-ID: <529F1424.7040501@gmail.com> (raw)
In-Reply-To: <1386124624-22414-3-git-send-email-voice.shen@atmel.com>
On 04/12/2013 03:37, Bo Shen wrote:
> Change sam9x5 with wm8731 work in DSP A mode, this will fix the
> left/right channel swap issue.
>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
> sound/soc/atmel/sam9x5_wm8731.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/atmel/sam9x5_wm8731.c b/sound/soc/atmel/sam9x5_wm8731.c
> index 992ae38..06c1811 100644
> --- a/sound/soc/atmel/sam9x5_wm8731.c
> +++ b/sound/soc/atmel/sam9x5_wm8731.c
> @@ -107,7 +107,7 @@ static int sam9x5_wm8731_driver_probe(struct platform_device *pdev)
> dai->stream_name = "WM8731 PCM";
> dai->codec_dai_name = "wm8731-hifi";
> dai->init = sam9x5_wm8731_init;
> - dai->dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
> + dai->dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_NB_NF
> | SND_SOC_DAIFMT_CBM_CFM;
>
> ret = snd_soc_of_parse_card_name(card, "atmel,model");
>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
on at91sam9g35-ek with 3.12-rc2 + "ASoC: wm8731: fix dsp mode configuration"
Thanks !
WARNING: multiple messages have this Message-ID (diff)
From: Richard Genoud <richard.genoud@gmail.com>
To: Bo Shen <voice.shen@atmel.com>
Cc: zql@glomationinc.com, nicolas.ferre@atmel.com,
alsa-devel@alsa-project.org, linux-sound@vger.kernel.org,
broonie@kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] ASoC: sam9x5_wm8731: change to work in DSP A mode
Date: Wed, 04 Dec 2013 11:38:12 +0000 [thread overview]
Message-ID: <529F1424.7040501@gmail.com> (raw)
In-Reply-To: <1386124624-22414-3-git-send-email-voice.shen@atmel.com>
On 04/12/2013 03:37, Bo Shen wrote:
> Change sam9x5 with wm8731 work in DSP A mode, this will fix the
> left/right channel swap issue.
>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
> sound/soc/atmel/sam9x5_wm8731.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/atmel/sam9x5_wm8731.c b/sound/soc/atmel/sam9x5_wm8731.c
> index 992ae38..06c1811 100644
> --- a/sound/soc/atmel/sam9x5_wm8731.c
> +++ b/sound/soc/atmel/sam9x5_wm8731.c
> @@ -107,7 +107,7 @@ static int sam9x5_wm8731_driver_probe(struct platform_device *pdev)
> dai->stream_name = "WM8731 PCM";
> dai->codec_dai_name = "wm8731-hifi";
> dai->init = sam9x5_wm8731_init;
> - dai->dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
> + dai->dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_NB_NF
> | SND_SOC_DAIFMT_CBM_CFM;
>
> ret = snd_soc_of_parse_card_name(card, "atmel,model");
>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
on at91sam9g35-ek with 3.12-rc2 + "ASoC: wm8731: fix dsp mode configuration"
Thanks !
WARNING: multiple messages have this Message-ID (diff)
From: richard.genoud@gmail.com (Richard Genoud)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ASoC: sam9x5_wm8731: change to work in DSP A mode
Date: Wed, 04 Dec 2013 12:38:12 +0100 [thread overview]
Message-ID: <529F1424.7040501@gmail.com> (raw)
In-Reply-To: <1386124624-22414-3-git-send-email-voice.shen@atmel.com>
On 04/12/2013 03:37, Bo Shen wrote:
> Change sam9x5 with wm8731 work in DSP A mode, this will fix the
> left/right channel swap issue.
>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
> sound/soc/atmel/sam9x5_wm8731.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/atmel/sam9x5_wm8731.c b/sound/soc/atmel/sam9x5_wm8731.c
> index 992ae38..06c1811 100644
> --- a/sound/soc/atmel/sam9x5_wm8731.c
> +++ b/sound/soc/atmel/sam9x5_wm8731.c
> @@ -107,7 +107,7 @@ static int sam9x5_wm8731_driver_probe(struct platform_device *pdev)
> dai->stream_name = "WM8731 PCM";
> dai->codec_dai_name = "wm8731-hifi";
> dai->init = sam9x5_wm8731_init;
> - dai->dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
> + dai->dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_NB_NF
> | SND_SOC_DAIFMT_CBM_CFM;
>
> ret = snd_soc_of_parse_card_name(card, "atmel,model");
>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
on at91sam9g35-ek with 3.12-rc2 + "ASoC: wm8731: fix dsp mode configuration"
Thanks !
next prev parent reply other threads:[~2013-12-04 11:38 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-04 2:37 [PATCH 0/2] ASoC: sam9x5_wm8731: fix left right channel swap issue Bo Shen
2013-12-04 2:37 ` Bo Shen
2013-12-04 2:37 ` Bo Shen
2013-12-04 2:37 ` [PATCH 1/2] ASoC: atmel_ssc_dai: add dai trigger ops Bo Shen
2013-12-04 2:37 ` Bo Shen
2013-12-04 2:37 ` Bo Shen
2013-12-04 11:38 ` Richard Genoud
2013-12-04 11:38 ` Richard Genoud
2013-12-04 11:38 ` Richard Genoud
2013-12-04 11:43 ` Mark Brown
2013-12-04 11:43 ` Mark Brown
2013-12-04 11:43 ` Mark Brown
2013-12-04 2:37 ` [PATCH 2/2] ASoC: sam9x5_wm8731: change to work in DSP A mode Bo Shen
2013-12-04 2:37 ` Bo Shen
2013-12-04 2:37 ` Bo Shen
2013-12-04 11:38 ` Richard Genoud [this message]
2013-12-04 11:38 ` Richard Genoud
2013-12-04 11:38 ` Richard Genoud
2013-12-04 15:54 ` Zhong Li
2013-12-04 15:54 ` Zhong Li
2013-12-04 15:54 ` Zhong Li
2013-12-04 16:06 ` Richard Genoud
2013-12-04 16:06 ` Richard Genoud
2013-12-04 16:06 ` Richard Genoud
2013-12-04 11:44 ` Mark Brown
2013-12-04 11:44 ` Mark Brown
2013-12-04 11:44 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=529F1424.7040501@gmail.com \
--to=richard.genoud@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-sound@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
--cc=voice.shen@atmel.com \
--cc=zql@glomationinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.