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 ffda5b0Copy full SHA for ffda5b0
test-case/check-sof-logger.sh
@@ -71,7 +71,11 @@ sof_alsa_card_found()
71
# note: assumes SOF card names to start with "sof", e.g.
72
# - /proc/asound/sofsoundwire/id
73
# - /proc/asound/sofhdadsp/id
74
- test -e /proc/asound/sof*/id
+ # SOF-specific codecs since the sof* regex also lists sofprobes
75
+ for i in /proc/asound/sof*/id; do
76
+ if test -e "$i"; then return 0; fi
77
+ done
78
+ return 1
79
}
80
81
wait_for_sof_alsa_card()
0 commit comments