Skip to content

ASoC: topology: Allow partial matching when finding DAI link - #4375

Merged
plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
ranj063:fix/dai_link_connect
May 25, 2023
Merged

plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
ranj063:fix/dai_link_connect

Conversation

@ranj063

@ranj063 ranj063 commented May 24, 2023

Copy link
Copy Markdown
Collaborator

This allows for setting shorter stream_names in topology. For example, for the HDA Analog DAI link, just "Analog" would suffice instead of "Analog Playback and Capture"

plbossart
plbossart previously approved these changes May 24, 2023
bardliao
bardliao previously approved these changes May 25, 2023
Comment thread sound/soc/soc-topology.c
@ranj063
ranj063 dismissed stale reviews from bardliao and plbossart via 07a3e0f May 25, 2023 13:20
@ranj063
ranj063 force-pushed the fix/dai_link_connect branch from 7e1ca10 to 07a3e0f Compare May 25, 2023 13:20
This allows for setting shorter link names in topology. For example,
for the HDA Analog DAI link, just "Analog" would suffice instead of
"Analog Playback and Capture"

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
@ranj063
ranj063 force-pushed the fix/dai_link_connect branch from 07a3e0f to 96fd04c Compare May 25, 2023 13:22

@ujfalusi ujfalusi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It will not cause regression for existing topologies (SOF or not SOF), I'm not sure if it is going to be better on the tplg side as previously we could grep for "Analog Playback and Capture" and find the relevant section. If it is reduced to just "Analog", it is going to be a tad harder to find the same place...

@ranj063

ranj063 commented May 25, 2023

Copy link
Copy Markdown
Collaborator Author

SOFCI TEST

1 similar comment
@ranj063

ranj063 commented May 25, 2023

Copy link
Copy Markdown
Collaborator Author

SOFCI TEST

@fredoh9

fredoh9 commented May 25, 2023

Copy link
Copy Markdown
Collaborator

SOFCI TEST

@fredoh9

fredoh9 commented May 25, 2023

Copy link
Copy Markdown
Collaborator

I aborted main-cavs test, that's why it has weird status.

pr-device-test/main-cavs : On-device Test Failed:Test Execption

I re-run the test manually, it looks good.
Intel Internal test link: result/planresultdetail/26530

@plbossart
plbossart merged commit dbe4ea6 into thesofproject:topic/sof-dev May 25, 2023
@ranj063
ranj063 deleted the fix/dai_link_connect branch May 25, 2023 23:37
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.

7 participants