From 7f7e48e27ec995a10dfa6d556cfbbb651eaa76c0 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Wed, 23 Jan 2019 12:54:25 -0600 Subject: [PATCH] kmod_scripts: fix dependencies and add delays dependencies are incorrect due to kernel changes also add 6s delay after insert to let userspace complete its tasks and go back to idle Signed-off-by: Pierre-Louis Bossart --- tools/kmod_scripts/sof_bootloop.sh | 1 + tools/kmod_scripts/sof_remove.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/kmod_scripts/sof_bootloop.sh b/tools/kmod_scripts/sof_bootloop.sh index da9296dbe23d..b3863a6b4c58 100755 --- a/tools/kmod_scripts/sof_bootloop.sh +++ b/tools/kmod_scripts/sof_bootloop.sh @@ -10,4 +10,5 @@ while [ $COUNTER -lt $MAXLOOPS ]; do ./sof_bootone.sh dmesg > boot_$COUNTER.bootlog let COUNTER+=1 + sleep 6 done diff --git a/tools/kmod_scripts/sof_remove.sh b/tools/kmod_scripts/sof_remove.sh index 8f0b49cbd162..2db6e988ee8f 100755 --- a/tools/kmod_scripts/sof_remove.sh +++ b/tools/kmod_scripts/sof_remove.sh @@ -14,12 +14,12 @@ remove_module() { remove_module sof_pci_dev remove_module sof_acpi_dev -remove_module snd_soc_acpi_intel_match remove_module snd_sof_intel_byt remove_module snd_sof_intel_hsw remove_module snd_sof_intel_bdw remove_module snd_sof_intel_hda_common remove_module snd_sof_xtensa_dsp +remove_module snd_soc_acpi_intel_match remove_module snd_soc_sst_bytcr_rt5640 remove_module snd_soc_sst_bytcr_rt5651 @@ -29,8 +29,8 @@ remove_module snd_soc_sst_byt_cht_da7213 remove_module snd_soc_sst_bxt_pcm512x remove_module snd_soc_sst_bxt_tdf8532 remove_module snd_soc_cnl_rt274 -remove_module snd_sof_nocodec remove_module snd_sof +remove_module snd_sof_nocodec remove_module snd_soc_rt5670 remove_module snd_soc_rt5645