Skip to content

Topology2: sdw-amp-generic: add missing num_input_pins#7900

Merged
ranj063 merged 1 commit intothesofproject:mainfrom
bardliao:num_input_pins
Jul 6, 2023
Merged

Topology2: sdw-amp-generic: add missing num_input_pins#7900
ranj063 merged 1 commit intothesofproject:mainfrom
bardliao:num_input_pins

Conversation

@bardliao
Copy link
Copy Markdown
Collaborator

@bardliao bardliao commented Jul 6, 2023

num_input_pins was missing in passthrough mode.

Fixes: #7899

num_input_pins was missing in passthrough mode.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@bardliao bardliao requested review from plbossart and ranj063 July 6, 2023 10:57
@bardliao bardliao requested a review from jsarha as a code owner July 6, 2023 10:57
Copy link
Copy Markdown
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bardliao

@ranj063 can't we flag such errors at build time with a mandatory property?

@ranj063
Copy link
Copy Markdown
Collaborator

ranj063 commented Jul 6, 2023

Thanks @bardliao

@ranj063 can't we flag such errors at build time with a mandatory property?

@plbossart unfortunately not with this one because num_input_pins is not mandatory for the copier.

@plbossart
Copy link
Copy Markdown
Member

@plbossart unfortunately not with this one because num_input_pins is not mandatory for the copier.

What prevents us from making it mandatory? I thought the two sides are needed for DMA config and buffer config.

@ranj063
Copy link
Copy Markdown
Collaborator

ranj063 commented Jul 6, 2023

@plbossart unfortunately not with this one because num_input_pins is not mandatory for the copier.

What prevents us from making it mandatory? I thought the two sides are needed for DMA config and buffer config.

I can look into it in a follow up PR

@ranj063 ranj063 merged commit b267012 into thesofproject:main Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Topology2: sdw amp doesn't work with passthrough topology (invalid input num_pins: 0)

3 participants