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 2b9331a59c71dd3fdf3b555aa08b69d0a0c246ff..d36bd1c333b82f1e407cda65974a80415f3740b9 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,