Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/topology1: mass replace codec_master -> codec_provider #8442

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Nov 3, 2023

This removes a lot of warning noise and may help spot other warnings like ALSA lib ops.c:48:(lookup_ops) wrong kcontrol ops value string '' and others.

Now that commit 1b1ec6c ("topology/cmake: skip all topologies when alsatplg < 1.2.5") enforces alsatplg version >= 1.2.5, it is finally safe to do this!

I compared the generated .tplg files before/after this commit and they're bit for bit identical. Tested with both alsatplg v2.6.1 from Ubuntu 22 and version 1.2.9 from the SOF docker container.

Note this is a much smaller commit than the reverted commit f50b6fe ("topologies: switch all .m4 files to codec_provider and codec_consumer") because most topologies v1 have been removed from the main branch. Most topologies v1 are now only in stable-v2.2 where the warning spam is still a problem :-(

@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 3, 2023

This removes a lot of warning noise and may help spot other warnings
like `ALSA lib ops.c:48:(lookup_ops) wrong kcontrol ops value string ''`
and others.

Now that commit 1b1ec6c ("topology/cmake: skip all topologies when
alsatplg < 1.2.5") enforces alsatplg version >= 1.2.5, it is finally safe
to do this!

I compared the generated .tplg files before/after this commit and
they're bit for bit identical. Tested with both alsatplg v2.6.1 from
Ubuntu 22 and version 1.2.9 from the SOF docker container.

Note this is a much smaller commit than the reverted
commit f50b6fe ("topologies: switch all .m4 files to codec_provider
and codec_consumer") because most topologies v1 have been removed from
the main branch. Most topologies v1 are now only in stable-v2.2 where
the warning spam is still a problem :-(

Signed-off-by: Marc Herbert <[email protected]>
This removes a lot of warning noise and may help spot other warnings
like `ALSA lib ops.c:48:(lookup_ops) wrong kcontrol ops value string ''`
and others.

Now that commit 1b1ec6c ("topology/cmake: skip all topologies when
alsatplg < 1.2.5") enforces alsatplg version >= 1.2.5, it is finally safe
to do this!

I compared the generated .tplg files before/after this commit and
they're bit for bit identical. Tested with  alsatplg v2.6.1 from
Ubuntu 22.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 9, 2023

v2:

  • fix conflict with recent and unrelated b9bd230
  • added tools/test/topology/ "forgotten" in v1 (cause it's not built by default)

@kv2019i kv2019i merged commit 008815d into thesofproject:main Nov 9, 2023
38 checks passed
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.

4 participants