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:
0d8d293
)
ASoC: wm8400: Fix setting Fout clock divider for FLL Control 4
author
Axel Lin
<axel.lin@gmail.com>
Sat, 22 Oct 2011 14:48:27 +0000
(22:48 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 24 Oct 2011 12:09:26 +0000
(14:09 +0200)
What we want here is to clear the WM8400_FLL_OUTDIV_MASK bits then
OR with factors.outdiv.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8400.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/wm8400.c
b/sound/soc/codecs/wm8400.c
index dc13be2a09c52b64b95aee07eb9d4061485c8b56..f29bc26ba416b136bc1f02fb8200db22ff21e096 100644
(file)
--- a/
sound/soc/codecs/wm8400.c
+++ b/
sound/soc/codecs/wm8400.c
@@
-1059,7
+1059,7
@@
static int wm8400_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id,
wm8400_write(codec, WM8400_FLL_CONTROL_3, factors.n);
reg = wm8400_read(codec, WM8400_FLL_CONTROL_4);
- reg &= WM8400_FLL_OUTDIV_MASK;
+ reg &=
~
WM8400_FLL_OUTDIV_MASK;
reg |= factors.outdiv;
wm8400_write(codec, WM8400_FLL_CONTROL_4, reg);