Skip to content

Commit

Permalink
kmod: fix acpi-intel-match dependency
Browse files Browse the repository at this point in the history
Kernel module snd_soc_acpi_intel_match is required by
snd_soc_intel_sof_board_helpers to detect codec type and need to be
removed before snd_soc_acpi module.

RMMOD	snd_soc_acpi_intel_match
rmmod: ERROR: Module snd_soc_acpi_intel_match is in use by: snd_soc_intel_sof_board_helpers

snd_soc_acpi_intel_match   110592  1 snd_soc_intel_sof_board_helpers
snd_soc_acpi           16384  1 snd_soc_acpi_intel_match

Signed-off-by: Brent Lu <brent.lu@intel.com>
  • Loading branch information
brentlu authored and marc-hb committed Apr 11, 2024
1 parent 429362d commit c8f7ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/kmod/sof_remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ remove_module snd_sof_intel_hda_common
remove_module snd_sof_intel_hda
remove_module snd_sof_intel_ipc
remove_module snd_sof_xtensa_dsp
remove_module snd_soc_acpi_intel_match

#-------------------------------------------
# Helpers
Expand Down Expand Up @@ -177,6 +176,7 @@ remove_module snd_soc_sof_sdw
remove_module snd_soc_sof_es8336
remove_module snd_soc_ehl_rt5660
remove_module snd_soc_intel_sof_board_helpers
remove_module snd_soc_acpi_intel_match
remove_module snd_soc_intel_hda_dsp_common
remove_module snd_soc_intel_sof_cirrus_common
remove_module snd_soc_intel_sof_maxim_common
Expand Down

0 comments on commit c8f7ebe

Please sign in to comment.