From 1bafc69a36e89700aad739160caa2df8d749e76e Mon Sep 17 00:00:00 2001 From: Bard Liao Date: Tue, 5 Aug 2025 11:10:46 +0800 Subject: [PATCH] sof_remove: remove snd_hda_codec_alc269 and snd_hda_codec_realtek_lib first To fix the rmmod: ERROR: Module snd_hda_codec_generic is in use by: snd_hda_codec_realtek_lib snd_hda_codec_alc269 error Signed-off-by: Bard Liao --- tools/kmod/sof_remove.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/kmod/sof_remove.sh b/tools/kmod/sof_remove.sh index 5d2fe630..16665cfb 100755 --- a/tools/kmod/sof_remove.sh +++ b/tools/kmod/sof_remove.sh @@ -305,7 +305,9 @@ remove_module snd_hda_codec_intelhdmi remove_module snd_hda_codec_hdmi remove_module snd_soc_dmic +remove_module snd_hda_codec_alc269 remove_module snd_hda_codec_realtek +remove_module snd_hda_codec_realtek_lib remove_module snd_hda_codec_generic remove_module snd_soc_wm8960