We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057fbe8 commit a4dc166Copy full SHA for a4dc166
test-case/verify-kernel-boot-log.sh
@@ -114,8 +114,10 @@ dmic_switch_present()
114
115
(set -x
116
# name= is hardcoded in /usr/share/alsa/ucm2/*
117
+ # - https://github.com/thesofproject/sof-test/issues/1244
118
+ first_card_name=$(aplay -l | awk 'NR == 2 {print $3}')
119
# This returns a non-zero error status on failure
- amixer cget name='Dmic0 Capture Switch'
120
+ amixer -c "$first_card_name" cget name='Dmic0 Capture Switch'
121
)
122
}
123
0 commit comments