ASoC: wm8996: Fix wrong mask for setting WM8996_AIF_CLOCKING_2
Subsystems (3)
PATCH 1/1 ASoC: wm8996: Fix wrong mask for setting WM8996_AIF_CLOCKING_2
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/codecs/wm8996.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm8996.c +1 -1
@@ -1920,7 +1920,7 @@ static int wm8996_hw_params(struct snd_pcm_substream *substream,snd_soc_update_bits (codec, lrclk_reg,WM8996_AIF1RX_RATE_MASK , lrclk);snd_soc_update_bits (codec,WM8996_AIF_CLOCKING_2 , -WM8996_DSP1_DIV_SHIFT << dsp_shift, dsp); +WM8996_DSP1_DIV_MASK << dsp_shift, dsp);return 0 ; }
Signature · 1 line
1.7.5.4
Quoted 19 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>---
sound/soc/codecs/wm8996.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)sound/soc/codecs/wm8996.c +1
-2@@ -1920,7 +1920,7 @@ static int wm8996_hw_params(struct snd_pcm_substream *substream, snd_soc_update_bits(codec, lrclk_reg, WM8996_AIF1RX_RATE_MASK, lrclk); snd_soc_update_bits(codec, WM8996_AIF_CLOCKING_2, - WM8996_DSP1_DIV_SHIFT << dsp_shift, dsp); + WM8996_DSP1_DIV_MASK << dsp_shift, dsp); return 0; } --
Quoted 2 lines
1.7.5.4
Acked-by Liam Girdwood <[email protected]>
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Mark Brown
AppliedQuoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Applied, thanks.