From c8f7ebefa29109fb04687e6f9db3ecbabe6c42e4 Mon Sep 17 00:00:00 2001 From: Brent Lu Date: Wed, 10 Apr 2024 17:39:13 +0800 Subject: [PATCH] kmod: fix acpi-intel-match dependency 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 --- tools/kmod/sof_remove.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kmod/sof_remove.sh b/tools/kmod/sof_remove.sh index 6baef9be..b7e30d48 100755 --- a/tools/kmod/sof_remove.sh +++ b/tools/kmod/sof_remove.sh @@ -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 @@ -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