mirror of https://github.com/thesofproject/sof.git
topology2: cavs: fix num_audio_formats to match the actual number
Multiple pipelines had incorrect num_audio_formats leading to invalid format structures ending up to topology. Example FW trace: [ 1601.624195] sof-audio-pci-intel-tgl 0000:00:1f.3: Get input audio formats for copier.module.8.2 [ 1601.624197] sof-audio-pci-intel-tgl 0000:00:1f.3: #0: 48000KHz, 32bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x2002) [ 1601.624201] sof-audio-pci-intel-tgl 0000:00:1f.3: #1: 0KHz, 0bit (ch_map 0x0 ch_cfg 0 interleaving_style 0 fmt_cfg 0x0) Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
parent
6b9c3caac8
commit
48afcefc75
|
@ -50,7 +50,7 @@ Class.Pipeline."dai-copier-gain-mixin-capture" {
|
||||||
period_sink_count 2
|
period_sink_count 2
|
||||||
period_source_count 0
|
period_source_count 0
|
||||||
node_type $HDA_LINK_INPUT_CLASS
|
node_type $HDA_LINK_INPUT_CLASS
|
||||||
num_audio_formats 2
|
num_audio_formats 1
|
||||||
# copier only supports one format based on mixin/mixout requirements: 32-bit 48KHz 2ch
|
# copier only supports one format based on mixin/mixout requirements: 32-bit 48KHz 2ch
|
||||||
Object.Base.audio_format.1 {
|
Object.Base.audio_format.1 {
|
||||||
in_bit_depth 32
|
in_bit_depth 32
|
||||||
|
|
|
@ -49,7 +49,7 @@ Class.Pipeline."dai-copier-gain-module-copier-capture" {
|
||||||
type dai_out
|
type dai_out
|
||||||
period_sink_count 2
|
period_sink_count 2
|
||||||
period_source_count 0
|
period_source_count 0
|
||||||
num_audio_formats 2
|
num_audio_formats 1
|
||||||
# copier only supports one format based on mixin/mixout requirements: 32-bit 48KHz 2ch
|
# copier only supports one format based on mixin/mixout requirements: 32-bit 48KHz 2ch
|
||||||
Object.Base.audio_format.1 {
|
Object.Base.audio_format.1 {
|
||||||
in_bit_depth 32
|
in_bit_depth 32
|
||||||
|
@ -65,7 +65,7 @@ Class.Pipeline."dai-copier-gain-module-copier-capture" {
|
||||||
copier_type "module"
|
copier_type "module"
|
||||||
period_sink_count 2
|
period_sink_count 2
|
||||||
period_source_count 0
|
period_source_count 0
|
||||||
num_audio_formats 2
|
num_audio_formats 1
|
||||||
Object.Base.audio_format.1 {
|
Object.Base.audio_format.1 {
|
||||||
in_bit_depth 32
|
in_bit_depth 32
|
||||||
in_valid_bit_depth 32
|
in_valid_bit_depth 32
|
||||||
|
|
Loading…
Reference in New Issue