Skip to content

Commit 3ba46cd

Browse files
rfvirgillgirdwood
authored andcommitted
topology2: sdw-amp-generic: Set correct number of feedback copier channels
The alh-copiers for 2nd and 3rd feedback links were not setting the number of channels, so it was defaulting to 2 channels. The number of channels on these copiers must be $AMP_FEEDBACK_CH, the same as on the first link copier. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
1 parent 54413c5 commit 3ba46cd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/topology/topology2/platform/intel/sdw-amp-generic.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ IncludeByKey.NUM_SDW_AMP_LINKS {
346346

347347
Object.Base.input_audio_format [
348348
{
349+
in_channels $AMP_FEEDBACK_CH
349350
in_bit_depth 32
350351
in_valid_bit_depth $SDW_LINK_VALID_BITS
351352
in_sample_type $SAMPLE_TYPE_MSB_INTEGER
@@ -354,6 +355,7 @@ IncludeByKey.NUM_SDW_AMP_LINKS {
354355
]
355356
Object.Base.output_audio_format [
356357
{
358+
out_channels $AMP_FEEDBACK_CH
357359
out_bit_depth 32
358360
out_valid_bit_depth 32
359361
}
@@ -494,6 +496,7 @@ IncludeByKey.NUM_SDW_AMP_LINKS {
494496

495497
Object.Base.input_audio_format [
496498
{
499+
in_channels $AMP_FEEDBACK_CH
497500
in_bit_depth 32
498501
in_valid_bit_depth $SDW_LINK_VALID_BITS
499502
in_sample_type $SAMPLE_TYPE_MSB_INTEGER
@@ -502,6 +505,7 @@ IncludeByKey.NUM_SDW_AMP_LINKS {
502505
]
503506
Object.Base.output_audio_format [
504507
{
508+
out_channels $AMP_FEEDBACK_CH
505509
out_bit_depth 32
506510
out_valid_bit_depth 32
507511
}
@@ -521,6 +525,7 @@ IncludeByKey.NUM_SDW_AMP_LINKS {
521525

522526
Object.Base.input_audio_format [
523527
{
528+
in_channels $AMP_FEEDBACK_CH
524529
in_bit_depth 32
525530
in_valid_bit_depth $SDW_LINK_VALID_BITS
526531
in_sample_type $SAMPLE_TYPE_MSB_INTEGER
@@ -529,6 +534,7 @@ IncludeByKey.NUM_SDW_AMP_LINKS {
529534
]
530535
Object.Base.output_audio_format [
531536
{
537+
out_channels $AMP_FEEDBACK_CH
532538
out_bit_depth 32
533539
out_valid_bit_depth 32
534540
}

0 commit comments

Comments
 (0)