Skip to content

Commit

Permalink
Added support multiple sof*
Browse files Browse the repository at this point in the history
Added #1243 bug reference for new code change

Signed-off-by: harajend <[email protected]>
  • Loading branch information
harajend committed Jan 13, 2025
1 parent 057fbe8 commit 05ffcc0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test-case/check-sof-logger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ sof_alsa_card_found()
# note: assumes SOF card names to start with "sof", e.g.
# - /proc/asound/sofsoundwire/id
# - /proc/asound/sofhdadsp/id
test -e /proc/asound/sof*/id
# test -e /proc/asound/sof*/id
# - https://github.com/thesofproject/sof-test/issues/1243
# Internal issue #615
# Designed to support multiple sof*
for i in /proc/asound/sof*/id; do
if test -e "$i"; then return 0; fi
done
return 1
}

wait_for_sof_alsa_card()
Expand Down

0 comments on commit 05ffcc0

Please sign in to comment.