diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-05-17 15:17:32 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-19 20:23:14 +0400 |
commit | 8c32570441f92244848c5e87f5d613465650aeee (patch) | |
tree | 537b01aaeae582690c41f070add5f3f6ee0c6932 /sound | |
parent | 71bfa9b4d6d11c093e0db5d27b1d05803cbbaffc (diff) | |
download | linux-8c32570441f92244848c5e87f5d613465650aeee.tar.xz |
ASoC: rt5645: Fix updating wrong register for T5645_AIF2 case
This looks like a copy-paste bug, fix it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/rt5645.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 68923eca7d9c..ab97d722e15d 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -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; |