aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ad1980.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 12:45:26 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 13:01:37 -0500
commit67c91513b81a101800f113013234d2ab06bc5e52 (patch)
treef5d835f43f126880cef7d1d5d5a3a1e30a3918bb /sound/soc/codecs/ad1980.c
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>
Diffstat (limited to 'sound/soc/codecs/ad1980.c')
-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 1a3ea059a6dc..a9a268112d3f 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,
145 145
146struct snd_soc_dai ad1980_dai = { 146struct snd_soc_dai ad1980_dai = {
147 .name = "AC97", 147 .name = "AC97",
148 .ac97_control = 1,
148 .playback = { 149 .playback = {
149 .stream_name = "Playback", 150 .stream_name = "Playback",
150 .channels_min = 2, 151 .channels_min = 2,