Skip to contentSkip to conversation

ASoC: uda134x - set reg_cache_default to uda134x_reg

PATCH Applied Axel Lin 3 participants 3 messages Nov 19, 2010

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 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.

---
 sound/soc/codecs/uda134x.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/codecs/uda134x.c +1 -0
index 8ea81d4..6b6c0d2 100644
@@ -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,
Signature · 1 line
1.7.2
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Axel Lin

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

---
 sound/soc/codecs/uda134x.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk