-
Notifications
You must be signed in to change notification settings - Fork 49
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
Test-case: Enhance "amixer" card selection #1249
Test-case: Enhance "amixer" card selection #1249
Conversation
Can one of the admins verify this patch?
|
ae665c6
to
2722df4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message is empty.
Avoid vague words like "update" or "Enhance". Try to be as specific as possible, for instance "select the first card by name because it's not always numbered 0" (assuming I'm guessing correctly)
Note the review already started in #1245.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code good, but git commit message needs to follow repository style (and have a signed off).
fba0b90
to
9969f61
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @harajend !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message is still confusing. I think it should say:
Search for DMIC on the first card found instead of card 0
Avoid vague words like "enhance". This is a bug FIX that makes the test pass, so it's not just an "enhancement".
Select the first card by name because it is not always numbered 0 Signed-off-by: Hariprasad, Rajendra <[email protected]>
9969f61
to
a4dc166
Compare
Again, no Jenkins testing :-( |
@@ -114,8 +114,10 @@ dmic_switch_present() | |||
|
|||
(set -x | |||
# name= is hardcoded in /usr/share/alsa/ucm2/* | |||
# - https://github.com/thesofproject/sof-test/issues/1244 | |||
first_card_name=$(aplay -l | awk 'NR == 2 {print $3}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could do the same with arecord
and probably verify that the name starts with sof
Added Enhancement for "amixer" card selection: support card identification by name