Skip to contentSkip to conversation

ASoC: Fix register cache setup WM8994 for multi-component

PATCH New Mark Brown 1 participant 1 message Nov 16, 2010

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Fix register cache setup WM8994 for multi-component

During the multi-component conversion the WM8994 register cache init got lost.

---
 sound/soc/codecs/wm8994.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8994.c +2 -0
index 363b3ba..f598ca0 100644
@@ -4342,6 +4342,8 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
 		return -ENOMEM;
 	snd_soc_codec_set_drvdata(codec, wm8994);
 
+	codec->reg_cache = &wm8994->reg_cache;
+
 	wm8994->pdata = dev_get_platdata(codec->dev->parent);
 	wm8994->codec = codec;
 
Signature · 1 line
1.7.1