summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/uda134x.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-19 15:48:06 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-19 11:19:38 +0000
commit2811fe2beb7cb9f34eef4bc9627dcabb401bc05e (patch)
tree9899ad1df359e38b388d5dcd64c6507b86358157 /sound/soc/codecs/uda134x.c
parentfb762a5b37e74023f1793cdf64e40d4da38b30ec (diff)
ASoC: uda134x - set reg_cache_default to uda134x_reg
After checking the code in 2.6.36, I found 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>
Diffstat (limited to 'sound/soc/codecs/uda134x.c')
-rw-r--r--sound/soc/codecs/uda134x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c
index 7540a509a6f..464f0cfa4c7 100644
--- a/sound/soc/codecs/uda134x.c
+++ b/sound/soc/codecs/uda134x.c
@@ -597,6 +597,7 @@ static struct snd_soc_codec_driver soc_codec_dev_uda134x = {
.resume = uda134x_soc_resume,
.reg_cache_size = sizeof(uda134x_reg),
.reg_word_size = sizeof(u8),
+ .reg_cache_default = uda134x_reg,
.reg_cache_step = 1,
.read = uda134x_read_reg_cache,
.write = uda134x_write,