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:
81d6042
)
audio: tdm: set tdmin max channals by dts
author
Yueguie He
<yuegui.he@amlogic.com>
Wed, 10 Jan 2018 05:22:33 +0000
(13:22 +0800)
committer
Jianxin Pan
<jianxin.pan@amlogic.com>
Wed, 10 Jan 2018 08:41:14 +0000
(
01:41
-0700)
PD#158473: set tdmin max channals by dts
Change-Id: Ia6ff262fec6b3c156ac35f89b72cd690621f12fc
Signed-off-by: Yueguie He <yuegui.he@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
d235a8d
..
c7546ce
100644
(file)
--- a/
sound/soc/amlogic/auge/tdm.c
+++ b/
sound/soc/amlogic/auge/tdm.c
@@
-691,6
+691,7
@@
static int aml_dai_set_tdm_slot(struct snd_soc_dai *cpu_dai,
aml_tdm_set_slot(p_tdm->actrl, slots, slot_width, p_tdm->id);
/* constrains hw channels_max by DTS configs */
drv->playback.channels_max = slots * lanes_cnt;
+ drv->capture.channels_max = slots * lanes_cnt;
return 0;
}