projects/linux·commit 2811fe2b

ASoC: uda134x - set reg_cache_default to uda134x_reg

2811fe2b · Axel Lin <[email protected]> · 2010-11-19 15:48:06 +08:00

After checking the code in 2.6.36,
I found this is missing during multi-component conversion.

Signed-off-by: Axel Lin <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Commit
2811fe2beb7cb9f34eef4bc9627dcabb401bc05e
Parents
fb762a5b

Changes

1 files changed · +1 −0

FileStatusAddDelContent
sound/soc/codecs/uda134x.cmodified+1−0View file

sound/soc/codecs/uda134x.c

View file
diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c
index 7540a50..464f0cf 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,