diff --git a/test-case/verify-kernel-boot-log.sh b/test-case/verify-kernel-boot-log.sh index a4138da2..2cfcd34f 100755 --- a/test-case/verify-kernel-boot-log.sh +++ b/test-case/verify-kernel-boot-log.sh @@ -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}') # This returns a non-zero error status on failure - amixer cget name='Dmic0 Capture Switch' + amixer -c "$first_card_name" cget name='Dmic0 Capture Switch' ) }