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:
24fb2b1
)
ASoC: wm8961 - clear WM8961_DACSLOPE bit for normal mode
author
Axel Lin
<
[email protected]
>
Wed, 24 Nov 2010 02:20:33 +0000
(10:20 +0800)
committer
Mark Brown
<
[email protected]
>
Wed, 24 Nov 2010 11:22:43 +0000
(11:22 +0000)
DACSLOPE bit of Register 06h ADC and DAC Control 2:
0: Normal mode
1: Sloping stop-band mode
Thus in the case of normal mode, we should clear DACSLOPE bit.
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/codecs/wm8961.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8961.c
b/sound/soc/codecs/wm8961.c
index 4f326f6041042742255731ba078574b37a48a6f3..93fecf5f94c6fb0844e6860550a4f23710976093 100644
(file)
--- a/
sound/soc/codecs/wm8961.c
+++ b/
sound/soc/codecs/wm8961.c
@@
-711,7
+711,7
@@
static int wm8961_hw_params(struct snd_pcm_substream *substream,
if (fs <= 24000)
reg |= WM8961_DACSLOPE;
else
- reg &= WM8961_DACSLOPE;
+ reg &=
~
WM8961_DACSLOPE;
snd_soc_write(codec, WM8961_ADC_DAC_CONTROL_2, reg);
return 0;