aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-01-28 08:25:43 +0100
committerTakashi Iwai <tiwai@suse.de>2011-01-28 08:25:43 +0100
commitdcc3c4c016481de3fdb99c1f6ecb04d4229513d4 (patch)
treed3d40306e6dfe0971c6f7fca6a0e37bbe66d2215 /sound/soc/codecs/wm8994.c
parentALSA: HDA: Fix automute on Thinkpad L412/L512 (diff)
parentASoC: correct link specifications for corgi, poodle and spitz (diff)
downloadlinux-dev-dcc3c4c016481de3fdb99c1f6ecb04d4229513d4.tar.xz
linux-dev-dcc3c4c016481de3fdb99c1f6ecb04d4229513d4.zip
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r--sound/soc/codecs/wm8994.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 247a6a99feb8..3351f77607b3 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2386,7 +2386,7 @@ static int wm8994_set_tristate(struct snd_soc_dai *codec_dai, int tristate)
else
val = 0;
- return snd_soc_update_bits(codec, reg, mask, reg);
+ return snd_soc_update_bits(codec, reg, mask, val);
}
#define WM8994_RATES SNDRV_PCM_RATE_8000_96000