Skip to content

Commit

Permalink
tools: kmod: Handle snd_sof_pci_intel_ptl
Browse files Browse the repository at this point in the history
The snd_sof_pci_intel_ptl depends on the LNL module and
it blobks removal of snd_sof_pci_intel_lnl.

Signed-off-by: Peter Ujfalusi <[email protected]>
  • Loading branch information
ujfalusi committed Jul 24, 2024
1 parent 6fec8e0 commit c9a69c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions tools/kmod/sof_insert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ insert_module snd_sof_pci_intel_icl
insert_module snd_sof_pci_intel_tgl
insert_module snd_sof_pci_intel_mtl
insert_module snd_sof_pci_intel_lnl
insert_module snd_sof_pci_intel_ptl

# OF driver
insert_module snd_sof_of
Expand Down
6 changes: 4 additions & 2 deletions tools/kmod/sof_remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ remove_module snd_usbmidi_lib
#-------------------------------------------
# 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
# TGL and ICL depend on CNL, PTL on LNL and
# LNL on MTL, the non-linear order is
# intentional
#-------------------------------------------
remove_module snd_hda_intel
remove_module snd_sof_pci_intel_tng
Expand All @@ -98,6 +99,7 @@ remove_module snd_sof_pci_intel_tgl
remove_module snd_sof_pci_intel_icl
remove_module snd_sof_pci_intel_cnl

remove_module snd_sof_pci_intel_ptl
remove_module snd_sof_pci_intel_lnl
remove_module snd_sof_pci_intel_mtl

Expand Down

0 comments on commit c9a69c0

Please sign in to comment.