diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-01-11 19:57:33 -0500 |
---|---|---|
committer | AK <andi@firstfloor.org> | 2011-03-31 11:57:48 -0700 |
commit | 2045cadb2357c23a0bb334b993af0f2e55a1d8fb (patch) | |
tree | 0bab067ef0db0300c03d74704ed663c5dda7fce4 /sound | |
parent | 86cd20034021d74ebd0e79e96ef4d74d7e802486 (diff) |
ASoC: Blackfin AC97: fix build error after multi-component update
commit e9c2048915048d605fd76539ddd96f00d593e1eb upstream.
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>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'sound')
-rw-r--r-- | 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 523b7fc33f4e..b69cd4b4d3f0 100644 --- a/sound/soc/blackfin/bf5xx-ac97.c +++ b/sound/soc/blackfin/bf5xx-ac97.c @@ -261,9 +261,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; } |