ASoC: ad1980 - set reg_cache_default to ad1980_reg
authorAxel Lin <axel.lin@gmail.com>
Thu, 9 Sep 2010 09:50:56 +0000 (17:50 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 10 Sep 2010 15:07:42 +0000 (16:07 +0100)
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>
sound/soc/codecs/ad1980.c

index 2b9331a..d36bd1c 100644 (file)
@@ -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,