alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Blackfin AC97: fix build error after multi-component update
@ 2011-01-12  0:57 Mike Frysinger
  2011-01-13 13:54 ` Mark Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mike Frysinger @ 2011-01-12  0:57 UTC (permalink / raw)
  To: alsa-devel, Mark Brown; +Cc: uclinux-dist-devel

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>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: Blackfin AC97: fix build error after multi-component update
  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
  2011-01-13 13:56 ` Liam Girdwood
  2011-01-13 14:16 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2011-01-13 13:54 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: uclinux-dist-devel, alsa-devel, lrg

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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: Blackfin AC97: fix build error after multi-component update
  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
@ 2011-01-13 13:56 ` Liam Girdwood
  2011-01-13 14:16 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Liam Girdwood @ 2011-01-13 13:56 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: uclinux-dist-devel, alsa-devel, Mark Brown

On Tue, 2011-01-11 at 19:57 -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>
> ---
>  sound/soc/blackfin/bf5xx-ac97.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Please remember to CC both Mark and I otherwise patches could be missed.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: Blackfin AC97: fix build error after multi-component update
  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
  2011-01-13 13:56 ` Liam Girdwood
@ 2011-01-13 14:16 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2011-01-13 14:16 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: uclinux-dist-devel, alsa-devel

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>

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-13 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-01-13 13:56 ` Liam Girdwood
2011-01-13 14:16 ` Mark Brown

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).