projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71bfa9b
)
ASoC: rt5645: Fix updating wrong register for T5645_AIF2 case
author
Axel Lin
<
[email protected]
>
Sat, 17 May 2014 11:17:32 +0000
(19:17 +0800)
committer
Mark Brown
<
[email protected]
>
Mon, 19 May 2014 16:23:14 +0000
(17:23 +0100)
This looks like a copy-paste bug, fix it.
Signed-off-by: Axel Lin <
[email protected]
>
Tested-by: Oder Chiou <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/rt5645.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5645.c
b/sound/soc/codecs/rt5645.c
index 68923eca7d9c54a593beaf36ba503c156a464efc..ab97d722e15d8ae0644fb1c8a983acf4faeb6086 100644
(file)
--- 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_I2S
1
_SDP,
+ case RT5645_AIF2:
+ snd_soc_update_bits(codec, RT5645_I2S
2
_SDP,
RT5645_I2S_MS_MASK | RT5645_I2S_BP_MASK |
RT5645_I2S_DF_MASK, reg_val);
break;