From 7a06d36df9d982442d5fecc9df957960c3c8ccc2 Mon Sep 17 00:00:00 2001 From: Zhang Keqiao Date: Thu, 19 Jul 2018 21:44:39 +0800 Subject: [PATCH] kmod_scripts: extend the delay to ensure that hardware is ready for next remove The delay is too short to let hardware get ready, in this case, system will be hang after 1-2 loops. After lot of tests, set the delay to 6s will avoid this issue on each platform. Signed-off-by: Zhang Keqiao --- kmod_scripts/sof_bootone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmod_scripts/sof_bootone.sh b/kmod_scripts/sof_bootone.sh index 6bc5f27..436d243 100755 --- a/kmod_scripts/sof_bootone.sh +++ b/kmod_scripts/sof_bootone.sh @@ -3,7 +3,7 @@ dmesg -C ./sof_remove.sh ./sof_insert.sh -sleep 1 +sleep 6 unset FW_BOOT unset ERROR