summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm9712.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-08-02 18:11:25 +0200
committerTakashi Iwai <tiwai@suse.de>2012-08-02 18:11:25 +0200
commitac190c76680cde6ce379b6be5baf89a970ea13d4 (patch)
tree8708121cda4180ac9e5c89f5473a8d6f10fda711 /sound/soc/codecs/wm9712.c
parent707fba3fa76a4c8855552f5d4c1a12430c09bce8 (diff)
parent98d3088e534a2a61f6690b5426909b0c3b57a785 (diff)
Merge tag 'asoc-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Additional updates for 3.6 A few updates for issues discovered during the merge window, the main one being the fix for the issues with defaulting to use of regmap without properly checking if there was I/O in place already.
Diffstat (limited to 'sound/soc/codecs/wm9712.c')
-rw-r--r--sound/soc/codecs/wm9712.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index 099e6ec3212..f16fb361a4e 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -619,6 +619,7 @@ static int wm9712_soc_probe(struct snd_soc_codec *codec)
{
int ret = 0;
+ codec->control_data = codec; /* we don't use regmap! */
ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
if (ret < 0) {
printk(KERN_ERR "wm9712: failed to register AC97 codec\n");