Skip to content

Commit 212a420

Browse files
committed
Update check-sof-logger.sh
Updated the test script with suggested changes Signed-off-by: harajend <hariprasad.rajendra@intel.com> Updated check-sof-logger.sh Updated SOF-specific codecs since the sof* regex also lists sofprobes. Signed-off-by: harajend <hariprasad.rajendra@intel.com>
1 parent 057fbe8 commit 212a420

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test-case/check-sof-logger.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ 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+
for i in /proc/asound/sof*/id; do
75+
if test -e "$i"; then return 0; fi
76+
done
77+
return 1
7578
}
7679

7780
wait_for_sof_alsa_card()

0 commit comments

Comments
 (0)