projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a282879
)
ASoC: WM8994: fix wrong value in tristate function
author
Qiao Zhou
<zhouqiao@marvell.com>
Wed, 19 Jan 2011 11:10:47 +0000
(19:10 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 19 Jan 2011 14:49:32 +0000
(14:49 +0000)
fix wrong value in wm8994_set_tristate func. when updating reg bits,
it should use "value", not "reg".
Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8994.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/wm8994.c
b/sound/soc/codecs/wm8994.c
index 247a6a99feb8f8cb4d8249e5e83764b897fba15f..3351f77607b39d55a446435a2208fef475927ab7 100644
(file)
--- 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