summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-22 01:20:54 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-22 15:03:35 +0100
commit13a2e06c5898d27aadabfdb9830169101b21432f (patch)
tree9c617e813f60bb6ccd69c188c1ab6292db5fe992
parentASoC: s3c24xx: test wrong variable (diff)
downloadlinux-13a2e06c5898d27aadabfdb9830169101b21432f.tar.xz
linux-13a2e06c5898d27aadabfdb9830169101b21432f.zip
ASoC: stac9766 - set reg_cache_default to stac9766_reg
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>
-rw-r--r--sound/soc/codecs/stac9766.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c
index 00d67cc8e206..061f9e5a497b 100644
--- a/sound/soc/codecs/stac9766.c
+++ b/sound/soc/codecs/stac9766.c
@@ -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)