Skip to content

Commit ffda5b0

Browse files
committed
Updated SOF-specific codecs since the sof* regex also lists sofprobes.
Signed-off-by: harajend <hariprasad.rajendra@intel.com> test-case: Updated SOF-specific codecs since the sof* regex also lists sofprobes
1 parent 057fbe8 commit ffda5b0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test-case/check-sof-logger.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ sof_alsa_card_found()
7171
# note: assumes SOF card names to start with "sof", e.g.
7272
# - /proc/asound/sofsoundwire/id
7373
# - /proc/asound/sofhdadsp/id
74-
test -e /proc/asound/sof*/id
74+
# 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
7579
}
7680

7781
wait_for_sof_alsa_card()

0 commit comments

Comments
 (0)