ASoC: stac9766 - set reg_cache_default to stac9766_reg
authorAxel Lin <axel.lin@gmail.com>
Mon, 22 Nov 2010 00:20:54 +0000 (08:20 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Nov 2010 14:03:35 +0000 (14:03 +0000)
Looks like this is missing during multi-component conversion.

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/stac9766.c

index 00d67cc..061f9e5 100644 (file)
@@ -383,6 +383,7 @@ static struct snd_soc_codec_driver soc_codec_dev_stac9766 = {
        .reg_cache_size = sizeof(stac9766_reg),
        .reg_word_size = sizeof(u16),
        .reg_cache_step = 2,
+       .reg_cache_default = stac9766_reg,
 };
 
 static __devinit int stac9766_probe(struct platform_device *pdev)