ASoC: rt5645: Fix updating wrong register for T5645_AIF2 case
Subsystems (3)
PATCH 1/1 ASoC: rt5645: Fix updating wrong register for T5645_AIF2 case
This looks like a copy-paste bug, fix it.
Signed-off-by Axel Lin <[email protected]>
---
Hi,
I don't have this h/w, so please test if this patch works. Axel
sound/soc/codecs/rt5645.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt5645.c +2 -2
@@ -1932,8 +1932,8 @@ static int rt5645_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)RT5645_I2S_MS_MASK |RT5645_I2S_BP_MASK | RT5645_I2S_DF_MASK, reg_val);break ; -case RT5645_AIF2 : -snd_soc_update_bits (codec,RT5645_I2S1_SDP , +case RT5645_AIF2 : +snd_soc_update_bits (codec,RT5645_I2S2_SDP ,RT5645_I2S_MS_MASK |RT5645_I2S_BP_MASK |RT5645_I2S_DF_MASK , reg_val);break ;
Signature · 1 line
1.8.3.2
Oder Chiou
maintainerRe: [PATCH RFT] ASoC: rt5645: Fix updating wrong registerforT5645_AIF2 case
Quoted 8 lines
-----Original Message-----
From: Axel Lin [mailto:[email protected]]
Sent: Saturday, May 17, 2014 7:18 PM
To: Mark Brown
Cc: Oder Chiou; Bard Liao; Liam Girdwood; [email protected]
Subject: [PATCH RFT] ASoC: rt5645: Fix updating wrong registerforT5645_AIF2case
Quoted 7 lines
This looks like a copy-paste bug, fix it.
Signed-off-by Axel Lin <[email protected]>---
Hi,
I don't have this h/w, so please test if this patch works. Axel
We've tested it, and it works properly, thanks.
Quoted 1 line · Axel Lin
This looks like a copy-paste bug, fix it.
Applied, thanks.