Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com
Subject: Re: [PATCH 2/2] ASoC: Restore DAI ID specification for WM8994
Date: Wed, 13 Oct 2010 10:30:32 +0100	[thread overview]
Message-ID: <1286962232.3282.27.camel@odin> (raw)
In-Reply-To: <1286895476-23198-2-git-send-email-broonie@opensource.wolfsonmicro.com>

On Tue, 2010-10-12 at 15:57 +0100, Mark Brown wrote:
> WM8994 relies on the DAIs having IDs that match the AIF numbers.
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/wm8994.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
> index cb9338e..9ccda44 100644
> --- a/sound/soc/codecs/wm8994.c
> +++ b/sound/soc/codecs/wm8994.c
> @@ -3850,6 +3850,7 @@ static struct snd_soc_dai_ops wm8994_aif3_dai_ops = {
>  static struct snd_soc_dai_driver wm8994_dai[] = {
>  	{
>  		.name = "wm8994-aif1",
> +		.id = 1,
>  		.playback = {
>  			.stream_name = "AIF1 Playback",
>  			.channels_min = 2,
> @@ -3868,6 +3869,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
>  	},
>  	{
>  		.name = "wm8994-aif2",
> +		.id = 2,
>  		.playback = {
>  			.stream_name = "AIF2 Playback",
>  			.channels_min = 2,
> @@ -3886,6 +3888,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
>  	},
>  	{
>  		.name = "wm8994-aif3",
> +		.id = 3,
>  		.playback = {
>  			.stream_name = "AIF3 Playback",
>  			.channels_min = 2,

Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

  reply	other threads:[~2010-10-13  9:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-12 14:57 [PATCH 1/2] ASoC: Pay attention to driver supplied DAI IDs Mark Brown
2010-10-12 14:57 ` [PATCH 2/2] ASoC: Restore DAI ID specification for WM8994 Mark Brown
2010-10-13  9:30   ` Liam Girdwood [this message]
2010-10-12 17:05 ` [PATCH 1/2] ASoC: Pay attention to driver supplied DAI IDs Mark Brown
2010-10-12 18:49 ` Timur Tabi
2010-10-12 21:33   ` 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=1286962232.3282.27.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=patches@opensource.wolfsonmicro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox