diff --git a/test-case/check-sof-logger.sh b/test-case/check-sof-logger.sh index 72b921f8..42df779f 100755 --- a/test-case/check-sof-logger.sh +++ b/test-case/check-sof-logger.sh @@ -234,13 +234,15 @@ reload_drivers() # The DSP may unfortunately need multiple retries to boot, see # https://github.com/thesofproject/sof/issues/3395 dlogi "Polling ${CARD_NODE}, waiting for DSP boot..." - for i in $(seq 1 5); do + for i in $(seq 1 "${MAX_WAIT_FW_LOADING}" ); do if sudo test -e ${CARD_NODE} ; then dlogi "Found ${CARD_NODE}." break; fi sleep 1 done + + test -e ${CARD_NODE} || die "DSP did not boot (node ${CARD_NODE})" } main()