public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Peter Ujfalusi <peter.ujfalusi@nokia.com>, linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/1] ASoC: Fix the power update function for snd_soc_dapm_value_mux
Date: Fri, 16 Jan 2009 11:33:36 +0200	[thread overview]
Message-ID: <20090116093334.GU4128@atomide.com> (raw)
In-Reply-To: <s5hmydrfw6y.wl%tiwai@suse.de>

* Takashi Iwai <tiwai@suse.de> [090116 11:16]:
> At Fri, 16 Jan 2009 09:48:06 +0200,
> Peter Ujfalusi wrote:
> > 
> > Modify the check for the mux type to also handle the
> > snd_soc_dapm_value_mux type in a same way as the snd_soc_dapm_mux.
> > 
> > Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
> > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> 
> FYI, it's already in Linus tree.

Thanks, will get it on the next merge then.

Tony

> 
> 
> thanks,
> 
> Takashi
> 
> > ---
> >  sound/soc/soc-dapm.c |    3 ++-
> >  1 files changed, 2 insertions(+), 1 deletions(-)
> > 
> > diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
> > index 493a4e8..a2f1da8 100644
> > --- a/sound/soc/soc-dapm.c
> > +++ b/sound/soc/soc-dapm.c
> > @@ -720,7 +720,8 @@ static int dapm_mux_update_power(struct snd_soc_dapm_widget *widget,
> >  	struct snd_soc_dapm_path *path;
> >  	int found = 0;
> >  
> > -	if (widget->id != snd_soc_dapm_mux)
> > +	if (widget->id != snd_soc_dapm_mux &&
> > +	    widget->id != snd_soc_dapm_value_mux)
> >  		return -ENODEV;
> >  
> >  	if (!snd_soc_test_bits(widget->codec, e->reg, mask, val))
> > -- 
> > 1.6.1
> > 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-01-16  9:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-16  7:48 [PATCH 0/1] ASoC patch on top of linux-omap 2.6.29-rc1 (TWL4030 related) - try2 Peter Ujfalusi
2009-01-16  7:48 ` [PATCH 1/1] ASoC: Fix the power update function for snd_soc_dapm_value_mux Peter Ujfalusi
2009-01-16  7:51   ` Tony Lindgren
2009-01-16  9:15   ` Takashi Iwai
2009-01-16  9:33     ` Tony Lindgren [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-16  6:14 [PATCH 0/1] ASoC patch on top of linux-omap 2.6.29-rc1 (TWL4030 related) Peter Ujfalusi
2009-01-16  6:14 ` [PATCH 1/1] ASoC: Fix the power update function for snd_soc_dapm_value_mux Peter Ujfalusi

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=20090116093334.GU4128@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=peter.ujfalusi@nokia.com \
    --cc=tiwai@suse.de \
    /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