Skip to content

Card name - #2

Merged
xiulipan merged 2 commits into
thesofproject:masterfrom
libinyang:card_name
Dec 19, 2019
Merged

xiulipan merged 2 commits into
thesofproject:masterfrom
libinyang:card_name

Conversation

@libinyang

Copy link
Copy Markdown
Contributor

The patchset does:

  1. fix the getting card short name issue
  2. provide the card long name inferface

Sometimes card short name has blank space inside it. This will cause
sof-dump-status.py get the wrong short name.

This patch uses ' - ' as the splitter. This patch requires the card
short name doesn't include ' - '.

Signed-off-by: Libin Yang <libin.yang@linux.intel.com>
This patch adds the card long name dump support.

Signed-off-by: Libin Yang <libin.yang@linux.intel.com>
@xiulipan
xiulipan requested a review from Bin-QA December 16, 2019 06:25

@xiulipan xiulipan 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.

Please help to provide example and clarify if alsalib version need to be check before checking the longname.

Comment thread tools/sof-dump-status.py Resolved
Comment thread tools/sof-dump-status.py Resolved

@Bin-QA Bin-QA 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.

I can accept long name, but I couldn't understand why need to use ' - ' instead ' '

@libinyang

Copy link
Copy Markdown
Contributor Author

checked. It is longname. You can refer sound/core/init.c for details.

@xiulipan xiulipan 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.

Thanks for the fix

@xiulipan
xiulipan requested a review from Bin-QA December 19, 2019 06:28
@xiulipan

Copy link
Copy Markdown
Contributor

I can accept long name, but I couldn't understand why need to use ' - ' instead ' '
I think @libinyang have explained this with

I found this bug when I try to run it on my legacy hda driver.

@Bin-QA Please re-check and approval if you think this PR is OK.

@Bin-QA Bin-QA 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.

look's good for me

@xiulipan
xiulipan merged commit 00a46a1 into thesofproject:master Dec 19, 2019
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.

3 participants