diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-09-09 05:50:56 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-10 11:07:42 -0400 |
commit | c7bad06f1305be2cfa68ad58dc3391261162db4e (patch) | |
tree | 8eea3029c4ef51784743657618019b46fb27b80b /sound/soc/codecs/ad1980.c | |
parent | 3056c70c4943f1838b432a61956f609035ac1b7e (diff) |
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.c | 1 |
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 = { | |||
247 | .remove = ad1980_soc_remove, | 247 | .remove = ad1980_soc_remove, |
248 | .reg_cache_size = ARRAY_SIZE(ad1980_reg), | 248 | .reg_cache_size = ARRAY_SIZE(ad1980_reg), |
249 | .reg_word_size = sizeof(u16), | 249 | .reg_word_size = sizeof(u16), |
250 | .reg_cache_default = ad1980_reg, | ||
250 | .reg_cache_step = 2, | 251 | .reg_cache_step = 2, |
251 | .write = ac97_write, | 252 | .write = ac97_write, |
252 | .read = ac97_read, | 253 | .read = ac97_read, |