Skip to content

Commit 2ff9c0b

Browse files
plbossartmarc-hb
authored andcommitted
kmod: fix dependency order
We already dealt with an earlier dependency to fix this problem: rmmod: ERROR: Module snd_hda_ext_core is in use by: snd_sof_intel_hda_mlink However with PR thesofproject/linux#4200 we use this hda_mlink module, which creates another dependency: rmmod: ERROR: Module snd_sof_intel_hda_mlink is in use by: soundwire_intel The 'right' order to remove modules seems to be: soundwire_intel snd_sof_intel_hda_mlink snd_hda_ext_core Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent ffd39d9 commit 2ff9c0b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tools/kmod/sof_remove.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ remove_module snd_sof_intel_hda_common || true
108108
remove_module snd_sof_acpi
109109
remove_module snd_sof_pci
110110
remove_module snd_sof_intel_atom
111-
remove_module snd_sof_intel_hda_mlink
112111
remove_module imx_common
113112

114113
#-------------------------------------------
@@ -261,7 +260,6 @@ remove_module snd_soc_wm8960
261260
# Remaining core SOF parts
262261
#-------------------------------------------
263262
remove_module snd_soc_acpi
264-
remove_module snd_hda_ext_core
265263

266264
remove_module snd_intel_dspcfg
267265

@@ -274,6 +272,9 @@ remove_module regmap_sdw_mbq
274272
remove_module soundwire_bus
275273
remove_module snd_intel_sdw_acpi
276274

275+
remove_module snd_sof_intel_hda_mlink
276+
remove_module snd_hda_ext_core
277+
277278
remove_module snd_soc_core
278279
remove_module snd_hda_codec
279280
remove_module snd_hda_core

0 commit comments

Comments
 (0)