projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9215aa4
)
ASoC: Fix wm8995 regmap usage
author
Mark Brown
<
[email protected]
>
Wed, 14 Dec 2011 03:20:42 +0000
(11:20 +0800)
committer
Mark Brown
<
[email protected]
>
Wed, 14 Dec 2011 05:48:12 +0000
(13:48 +0800)
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/wm8995.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8995.c
b/sound/soc/codecs/wm8995.c
index 5863406b459d95408f55beb9f9c7591764fa1097..c8aada597d7049cfc756cf887a886bd9f30cd54b 100644
(file)
--- a/
sound/soc/codecs/wm8995.c
+++ b/
sound/soc/codecs/wm8995.c
@@
-2051,6
+2051,7
@@
static int wm8995_probe(struct snd_soc_codec *codec)
wm8995 = snd_soc_codec_get_drvdata(codec);
wm8995->codec = codec;
+ codec->control_data = wm8995->regmap;
ret = snd_soc_codec_set_cache_io(codec, 16, 16, SND_SOC_REGMAP);
if (ret < 0) {
dev_err(codec->dev, "Failed to set cache i/o: %d\n", ret);