public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Cc: linux-omap@vger.kernel.org, Takashi Iwai <tiwai@suse.de>
Subject: Re: [PATCH 1/1] ASoC: Fix the power update function for snd_soc_dapm_value_mux
Date: Fri, 16 Jan 2009 09:51:39 +0200	[thread overview]
Message-ID: <20090116075138.GR4128@atomide.com> (raw)
In-Reply-To: <1232092086-30074-2-git-send-email-peter.ujfalusi@nokia.com>

* Peter Ujfalusi <peter.ujfalusi@nokia.com> [090116 09:49]:
> 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.

Thanks, pushed to l-o tree to wait for it to fall down from mainline.

Tony


> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> ---
>  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  7:51 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 [this message]
2009-01-16  9:15   ` Takashi Iwai
2009-01-16  9:33     ` Tony Lindgren
  -- 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=20090116075138.GR4128@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