projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
217863b
)
audio: Fix TDM not wokring on HDMI I2S in [1/1]
author
yujie.wu
<yujie.wu@amlogic.com>
Wed, 19 Dec 2018 02:39:25 +0000
(10:39 +0800)
committer
Jianxin Pan
<jianxin.pan@amlogic.com>
Wed, 26 Dec 2018 02:03:24 +0000
(18:03 -0800)
PD#SWPL-2887
Problem:
When TDM is used for HDMI I2S in, the solt set is wrong.
Solution:
Fix the lane max value from 3 to 4
Verify:
A113
Change-Id: I33f5ca21bf1e2407d83fa5d0f22e21f7b1f5e749
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
sound/soc/amlogic/auge/tdm.c
patch
|
blob
|
history
diff --git
a/sound/soc/amlogic/auge/tdm.c
b/sound/soc/amlogic/auge/tdm.c
index
2208616
..
0cbe0fb
100644
(file)
--- a/
sound/soc/amlogic/auge/tdm.c
+++ b/
sound/soc/amlogic/auge/tdm.c
@@
-968,7
+968,7
@@
static int aml_dai_set_tdm_slot(struct snd_soc_dai *cpu_dai,
} else {
if (lanes_lb_cnt)
in_src = p_tdm->id + 3;
- if (lanes_in_cnt && lanes_in_cnt <=
3
)
+ if (lanes_in_cnt && lanes_in_cnt <=
4
)
in_src = p_tdm->id;
if (in_src > 5) {
pr_err("unknown src(%d) for tdmin\n", in_src);