Skip to content

Commit

Permalink
kmod: sof_remove: add dependencies between platforms
Browse files Browse the repository at this point in the history
With thesofproject/linux#4703, TGL and ICL
depend on CNL, and LNL on MTL. The order in which the modules are
removed needs to respend those dependencies.

Signed-off-by: Pierre-Louis Bossart <[email protected]>
  • Loading branch information
plbossart committed Nov 30, 2023
1 parent f209a9f commit 8986c81
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tools/kmod/sof_remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,21 @@ remove_module snd_usb_audio
#-------------------------------------------
# Top level devices
# ACPI is after PCI due to TNG dependencies
# TGL and ICL depend on CNL, and LNL on MTL,
# the non-linear order is intentional
#-------------------------------------------
remove_module snd_hda_intel
remove_module snd_sof_pci_intel_tng
remove_module snd_sof_pci_intel_skl
remove_module snd_sof_pci_intel_apl
remove_module snd_sof_pci_intel_cnl
remove_module snd_sof_pci_intel_icl

remove_module snd_sof_pci_intel_tgl
remove_module snd_sof_pci_intel_mtl
remove_module snd_sof_pci_intel_icl
remove_module snd_sof_pci_intel_cnl

remove_module snd_sof_pci_intel_lnl
remove_module snd_sof_pci_intel_mtl

remove_module snd_sof_acpi_intel_byt
remove_module snd_sof_acpi_intel_bdw

Expand Down

0 comments on commit 8986c81

Please sign in to comment.