Skip to content

Commit f209a9f

Browse files
committed
kmod: sof_remove: move helpers after platform drivers
Bad dependency, we need to remove those helpers last. rmmod: ERROR: Module snd_sof_pci is in use by: snd_sof_intel_hda_generic Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 5337480 commit f209a9f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

tools/kmod/sof_remove.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,6 @@ remove_module snd_sof_acpi_intel_bdw
9696
remove_module snd_sof_imx8
9797
remove_module snd_sof_imx8m
9898

99-
#-------------------------------------------
100-
# Helpers
101-
#-------------------------------------------
102-
remove_module snd_sof_acpi
103-
remove_module snd_sof_pci
104-
remove_module snd_sof_intel_atom
105-
remove_module imx_common
106-
10799
#-------------------------------------------
108100
# legacy drivers (not used but loaded)
109101
#-------------------------------------------
@@ -129,6 +121,14 @@ remove_module snd_sof_intel_ipc
129121
remove_module snd_sof_xtensa_dsp
130122
remove_module snd_soc_acpi_intel_match
131123

124+
#-------------------------------------------
125+
# Helpers
126+
#-------------------------------------------
127+
remove_module snd_sof_acpi
128+
remove_module snd_sof_pci
129+
remove_module snd_sof_intel_atom
130+
remove_module imx_common
131+
132132
#-------------------------------------------
133133
# Machine drivers
134134
#-------------------------------------------

0 commit comments

Comments
 (0)