summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ad1980.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-09-09 13:50:56 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-10 19:07:42 +0400
commitc7bad06f1305be2cfa68ad58dc3391261162db4e (patch)
tree8eea3029c4ef51784743657618019b46fb27b80b /sound/soc/codecs/ad1980.c
parent3056c70c4943f1838b432a61956f609035ac1b7e (diff)
downloadlinux-c7bad06f1305be2cfa68ad58dc3391261162db4e.tar.xz
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/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 2b9331a59c71..d36bd1c333b8 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,