aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 17:45:26 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 18:01:37 +0000
commit67c91513b81a101800f113013234d2ab06bc5e52 (patch)
treef5d835f43f126880cef7d1d5d5a3a1e30a3918bb
parent3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54 (diff)
ASoC: Flag AD1980 as an AC97 interface
Special handling is required for suspend and resume of AC97 codecs due to the control path going over the data bus. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/ad1980.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c
index 1a3ea059a6d..a9a268112d3 100644
--- a/sound/soc/codecs/ad1980.c
+++ b/sound/soc/codecs/ad1980.c
@@ -145,6 +145,7 @@ static int ac97_write(struct snd_soc_codec *codec, unsigned int reg,
struct snd_soc_dai ad1980_dai = {
.name = "AC97",
+ .ac97_control = 1,
.playback = {
.stream_name = "Playback",
.channels_min = 2,