From 32603a8358878c13c89d9b4ad51f6a9f3a98e276 Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Thu, 25 Nov 2021 09:07:56 +0200 Subject: [PATCH] sof_remove.sh: Remove all ALSA modules Remove the remaining ALSA modules to have completely fresh start when inserting the modules. This way we can also test module parameters for the core. Signed-off-by: Peter Ujfalusi --- tools/kmod/sof_remove.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tools/kmod/sof_remove.sh b/tools/kmod/sof_remove.sh index 3bbdea9c..9bcf0c8c 100755 --- a/tools/kmod/sof_remove.sh +++ b/tools/kmod/sof_remove.sh @@ -72,6 +72,7 @@ kill_trace_users # SOF CI has a dependency on usb audio remove_module snd_usb_audio +remove_module snd_usbmidi_lib #------------------------------------------- # Top level devices @@ -299,6 +300,9 @@ remove_module snd_intel_sdw_acpi remove_module snd_sof_intel_hda_mlink remove_module snd_hda_ext_core +#------------------------------------------- +# Remaining core ALSA/ASoC parts +#------------------------------------------- remove_module snd_soc_core remove_module snd_hda_codec remove_module snd_hda_core @@ -306,4 +310,12 @@ remove_module snd_hwdep remove_module snd_compress remove_module snd_pcm_dmaengine remove_module snd_pcm - +remove_module snd_ctl_led +remove_module snd_seq_midi +remove_module snd_seq_midi_event +remove_module snd_rawmidi +remove_module snd_seq +remove_module snd_seq_device +remove_module snd_timer +remove_module snd +remove_module soundcore