Skip to content

Commit 08b1a38

Browse files
AxelLinbroonie
authored andcommitted
ASoC: wm8961 - clear WM8961_DACSLOPE bit for normal mode
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]
1 parent 24fb2b1 commit 08b1a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/wm8961.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ static int wm8961_hw_params(struct snd_pcm_substream *substream,
711711
if (fs <= 24000)
712712
reg |= WM8961_DACSLOPE;
713713
else
714-
reg &= WM8961_DACSLOPE;
714+
reg &= ~WM8961_DACSLOPE;
715715
snd_soc_write(codec, WM8961_ADC_DAC_CONTROL_2, reg);
716716

717717
return 0;

0 commit comments

Comments
 (0)