Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions test-case/verify-kernel-boot-log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,8 @@ 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 -c "$first_card_name" cget name='Dmic0 Capture Switch'
# Use the SOF card selected by case-lib/lib.sh, not aplay's enumeration order.
amixer -c "$SOFCARD" cget name='Dmic0 Capture Switch'
)
}

Expand Down
Loading