Repository navigation
Commit 954bad3
tools: kmod: remove snd_ump before snd_rawmidi
On MIDI2-enabled kernels snd_ump is loaded even when nothing is using
it, and it holds a reference on snd_rawmidi. sof_remove.sh has no entry
for it, so removal fails:
RMMOD snd_rawmidi
rmmod: ERROR: Module snd_rawmidi is in use by: snd_ump
/home/ubuntu/sof-test/tools/kmod/sof_remove.sh FAILED
That aborts reload_drivers() and every subsequent test case that reloads
the driver stack fails with it -- on a NVL-S run this turned into ~15
consecutive failures starting at check-sof-logger.
Remove snd_ump just before snd_rawmidi. remove_module() already SKIPs
modules that are not loaded, so this is a no-op on kernels built without
CONFIG_SND_UMP.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 8930ea6 commit 954bad3
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
349 | 355 | | |
350 | 356 | | |
351 | 357 | | |
| |||
0 commit comments