Skip to contentSkip to conversation

ASoC: Blackfin AC97: fix build error after multi-component update

PATCH Applied Mike Frysinger 3 participants 4 messages Jan 12, 2011 – Jan 13, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: Blackfin AC97: fix build error after multi-component update

We need to tweak how we query the active capture/playback state after the recent overhauls of common code.

---
 sound/soc/blackfin/bf5xx-ac97.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/blackfin/bf5xx-ac97.c +2 -2
index c5f856e..ffbac26 100644
@@ -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;
 }
Signature · 1 line
1.7.4.rc1
#1 lore raw
Quoted 4 lines · Mike Frysinger

We need to tweak how we query the active capture/playback state after the recent overhauls of common code.

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

Quoted 23 lines
---
 sound/soc/blackfin/bf5xx-ac97.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/blackfin/bf5xx-ac97.c +2 -2
index c5f856e..ffbac26 100644
@@ -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;
 }
Signature · 1 line
1.7.4.rc1
Acked-by on v1 1/1
#2 lore raw
In reply to Mike Frysinger
Quoted 7 lines · Mike Frysinger

We need to tweak how we query the active capture/playback state after the recent overhauls of common code.

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

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk