projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
974edd3
)
ASoC: Fix WM8996 24.576MHz clock operation
author
Mark Brown
<
[email protected]
>
Sat, 10 Dec 2011 12:38:32 +0000
(20:38 +0800)
committer
Mark Brown
<
[email protected]
>
Sat, 10 Dec 2011 19:01:09 +0000
(
03:01
+0800)
Record the clock after the divider as that is what all SYSCLK users see.
Without this the other clock configuration in the device comes out at
half rate.
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/codecs/wm8996.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8996.c
b/sound/soc/codecs/wm8996.c
index 645c980d6b80edd81b1f0886c013c34f884346d6..a33b04d1719537409eb186c02a7e5dedfcbc7683 100644
(file)
--- a/
sound/soc/codecs/wm8996.c
+++ b/
sound/soc/codecs/wm8996.c
@@
-1968,6
+1968,7
@@
static int wm8996_set_sysclk(struct snd_soc_dai *dai,
break;
case 24576000:
ratediv = WM8996_SYSCLK_DIV;
+ wm8996->sysclk /= 2;
case 12288000:
snd_soc_update_bits(codec, WM8996_AIF_RATE,
WM8996_SYSCLK_RATE, WM8996_SYSCLK_RATE);