alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: uclinux-dist-devel@blackfin.uclinux.org,
	alsa-devel@alsa-project.org, lrg@slimlogic.co.uk
Subject: Re: [PATCH] ASoC: Blackfin AC97: fix build error after multi-component update
Date: Thu, 13 Jan 2011 13:54:58 +0000	[thread overview]
Message-ID: <20110113135458.GB11840@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1294793853-16049-1-git-send-email-vapier@gentoo.org>

On Tue, Jan 11, 2011 at 07:57:33PM -0500, Mike Frysinger wrote:
> We need to tweak how we query the active capture/playback state after
> the recent overhauls of common code.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Ccing in Liam - Mike, please remember to CC maintainers on patches.

> ---
>  sound/soc/blackfin/bf5xx-ac97.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/blackfin/bf5xx-ac97.c b/sound/soc/blackfin/bf5xx-ac97.c
> index c5f856e..ffbac26 100644
> --- a/sound/soc/blackfin/bf5xx-ac97.c
> +++ b/sound/soc/blackfin/bf5xx-ac97.c
> @@ -260,9 +260,9 @@ static int bf5xx_ac97_suspend(struct snd_soc_dai *dai)
>  	pr_debug("%s : sport %d\n", __func__, dai->id);
>  	if (!dai->active)
>  		return 0;
> -	if (dai->capture.active)
> +	if (dai->capture_active)
>  		sport_rx_stop(sport);
> -	if (dai->playback.active)
> +	if (dai->playback_active)
>  		sport_tx_stop(sport);
>  	return 0;
>  }
> -- 
> 1.7.4.rc1
> 

  reply	other threads:[~2011-01-13 13:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12  0:57 [PATCH] ASoC: Blackfin AC97: fix build error after multi-component update Mike Frysinger
2011-01-13 13:54 ` Mark Brown [this message]
2011-01-13 13:56 ` Liam Girdwood
2011-01-13 14:16 ` 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=20110113135458.GB11840@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=uclinux-dist-devel@blackfin.uclinux.org \
    --cc=vapier@gentoo.org \
    /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;
as well as URLs for NNTP newsgroup(s).