aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-09-09 17:50:56 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-10 16:07:42 +0100
commitc7bad06f1305be2cfa68ad58dc3391261162db4e (patch)
tree8eea3029c4ef51784743657618019b46fb27b80b /sound
parent3056c70c4943f1838b432a61956f609035ac1b7e (diff)
downloadmrst-s0i3-test-c7bad06f1305be2cfa68ad58dc3391261162db4e.tar.gz
mrst-s0i3-test-c7bad06f1305be2cfa68ad58dc3391261162db4e.tar.xz
mrst-s0i3-test-c7bad06f1305be2cfa68ad58dc3391261162db4e.zip
ASoC: ad1980 - set reg_cache_default to ad1980_reg
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-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 2b9331a59c7..d36bd1c333b 100644
--- a/sound/soc/codecs/ad1980.c
+++ b/sound/soc/codecs/ad1980.c
@@ -247,6 +247,7 @@ static struct snd_soc_codec_driver soc_codec_dev_ad1980 = {
.remove = ad1980_soc_remove,
.reg_cache_size = ARRAY_SIZE(ad1980_reg),
.reg_word_size = sizeof(u16),
+ .reg_cache_default = ad1980_reg,
.reg_cache_step = 2,
.write = ac97_write,
.read = ac97_read,