ASoC: Flag AD1980 as an AC97 interface
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 24 Nov 2008 17:45:26 +0000 (17:45 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 24 Nov 2008 18:01:37 +0000 (18:01 +0000)
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>
sound/soc/codecs/ad1980.c

index 1a3ea05..a9a2681 100644 (file)
@@ -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,