Skip to content

Commit

Permalink
kmod: sof_remove: move helpers after platform drivers
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
plbossart committed Nov 30, 2023
1 parent 5337480 commit f209a9f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tools/kmod/sof_remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@ remove_module snd_sof_acpi_intel_bdw
remove_module snd_sof_imx8
remove_module snd_sof_imx8m

#-------------------------------------------
# Helpers
#-------------------------------------------
remove_module snd_sof_acpi
remove_module snd_sof_pci
remove_module snd_sof_intel_atom
remove_module imx_common

#-------------------------------------------
# legacy drivers (not used but loaded)
#-------------------------------------------
Expand All @@ -129,6 +121,14 @@ remove_module snd_sof_intel_ipc
remove_module snd_sof_xtensa_dsp
remove_module snd_soc_acpi_intel_match

#-------------------------------------------
# Helpers
#-------------------------------------------
remove_module snd_sof_acpi
remove_module snd_sof_pci
remove_module snd_sof_intel_atom
remove_module imx_common

#-------------------------------------------
# Machine drivers
#-------------------------------------------
Expand Down

0 comments on commit f209a9f

Please sign in to comment.