summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-01-28 10:25:43 +0300
committerTakashi Iwai <tiwai@suse.de>2011-01-28 10:25:43 +0300
commitdcc3c4c016481de3fdb99c1f6ecb04d4229513d4 (patch)
treed3d40306e6dfe0971c6f7fca6a0e37bbe66d2215 /sound/soc/codecs/wm8994.c
parentded9f5238bb719737f82b0b5b957937cb0203804 (diff)
parenta3adfa00e8089aa72826c6ba04bcb18cfceaf0a9 (diff)
downloadlinux-dcc3c4c016481de3fdb99c1f6ecb04d4229513d4.tar.xz
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