Skip to content

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

Merged
marc-hb merged 1 commit into
thesofproject:mainfrom
marc-hb:full-tplg-path
Feb 10, 2022
Merged

marc-hb merged 1 commit into
thesofproject:mainfrom
marc-hb:full-tplg-path

Conversation

@marc-hb

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

Copy link
Copy Markdown
Collaborator

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 marc.herbert@intel.com

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 <marc.herbert@intel.com>
@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

@keqiaozhang keqiaozhang left a comment

Copy link
Copy Markdown
Contributor

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