Skip to content

Commit

Permalink
check-sof-logger.sh: Designed to support multiple SOF instances with …
Browse files Browse the repository at this point in the history
…SOF probes

We have multiple sof* devices whenever SOF probes are enabled

Signed-off-by: Hariprasad, Rajendra <[email protected]>
  • Loading branch information
harajend committed Jan 16, 2025
1 parent 057fbe8 commit 402f4bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test-case/check-sof-logger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ 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
# - https://github.com/thesofproject/sof-test/issues/1243
# Designed to support multiple SOF instances with SOF probes
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 402f4bd

Please sign in to comment.