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

sof-get-default-tplg.sh: return full /lib/firmware/sof-tplg/*.tplg path #854

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Feb 9, 2022

This fixes the confusion between (for instance)

  /lib/firmware/intel/avs-tplg/sof-hda-generic-idisp.tplg

and

  /lib/firmware/intel/sof-tplg/sof-hda-generic-idisp.tplg

The other option was to return sof-tplg/sof-hda-generic-idisp.tplg but
this would have required all users of this script to adapt whereas this
change will hopefully go unnoticed.

Also add some error handling, comments and other cleanups.

Signed-off-by: Marc Herbert [email protected]

This fixes the confusion between (for instance)

  /lib/firmware/intel/avs-tplg/sof-hda-generic-idisp.tplg

and

  /lib/firmware/intel/sof-tplg/sof-hda-generic-idisp.tplg

The other option was to return `sof-tplg/sof-hda-generic-idisp.tplg` but
this would have required all users of this script to adapt whereas this
change will hopefully go unnoticed.

Also add some error handling, comments and other cleanups.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb marc-hb requested a review from a team as a code owner February 9, 2022 22:32
@marc-hb marc-hb requested a review from ranj063 February 9, 2022 22:49
Copy link
Contributor

@keqiaozhang keqiaozhang left a comment

Choose a reason for hiding this comment

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

Good solution.

@marc-hb marc-hb merged commit b6aa6c5 into thesofproject:main Feb 10, 2022
@marc-hb marc-hb deleted the full-tplg-path branch February 10, 2022 18:34
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