Skip to content

Commit

Permalink
sof_remove.sh: Remove all ALSA modules
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ujfalusi authored and marc-hb committed Jul 16, 2024
1 parent 1b635c3 commit df8e22e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tools/kmod/sof_remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -299,11 +300,22 @@ 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
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

0 comments on commit df8e22e

Please sign in to comment.