Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sof_remove: unload snd_sof_intel_hda_common before soundwire_intel #1182

Merged
merged 1 commit into from
May 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tools/kmod/sof_remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ remove_module snd_soc_hda_codec
# platform drivers
#-------------------------------------------
remove_module snd_sof_intel_hda_generic
# Attempt 1/2
#
# - In the SDW BRA future this will be "in use by
# snd_sof_intel_hda_sdw_bpt" and will fail. Ignore that failure.
# - In the 6.5-ish "present" 'soundwire_intel' depends on it so it must
# be removed first.
# https://github.com/thesofproject/sof-test/pull/1182
remove_module snd_sof_intel_hda_common || true

#-------------------------------------------
# SoundWire/SOF parts
Expand All @@ -133,7 +141,9 @@ remove_module snd_sof_intel_hda_sdw_bpt
#-------------------------------------------
# platform drivers - take2
#-------------------------------------------
# Attempt 2/2, see above.
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
Expand Down
Loading