mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
ASoC: rt5665: fix wrong register for bclk ratio control
The register of setting back ratio should be RT5665_ADDA_CLK_2 instead of RT5665_ADDA_CLK_1. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b50e2842b2
commit
7e5824c934
1 changed files with 2 additions and 2 deletions
|
@ -4368,12 +4368,12 @@ static int rt5665_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio)
|
||||||
switch (dai->id) {
|
switch (dai->id) {
|
||||||
case RT5665_AIF2_1:
|
case RT5665_AIF2_1:
|
||||||
case RT5665_AIF2_2:
|
case RT5665_AIF2_2:
|
||||||
snd_soc_update_bits(codec, RT5665_ADDA_CLK_1,
|
snd_soc_update_bits(codec, RT5665_ADDA_CLK_2,
|
||||||
RT5665_I2S_BCLK_MS2_MASK,
|
RT5665_I2S_BCLK_MS2_MASK,
|
||||||
RT5665_I2S_BCLK_MS2_64);
|
RT5665_I2S_BCLK_MS2_64);
|
||||||
break;
|
break;
|
||||||
case RT5665_AIF3:
|
case RT5665_AIF3:
|
||||||
snd_soc_update_bits(codec, RT5665_ADDA_CLK_1,
|
snd_soc_update_bits(codec, RT5665_ADDA_CLK_2,
|
||||||
RT5665_I2S_BCLK_MS3_MASK,
|
RT5665_I2S_BCLK_MS3_MASK,
|
||||||
RT5665_I2S_BCLK_MS3_64);
|
RT5665_I2S_BCLK_MS3_64);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue