diff options
| author | Christos Margiolis <christos@FreeBSD.org> | 2026-11-10 14:11:30 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2026-11-12 16:35:49 +0000 |
| commit | f960b33d35dafa85a7373f6ab68e499e8d47dc3a (patch) | |
| tree | 10bfd7d0ed7ce5e76619c48b16a2854ba23bd8bf | |
| parent | 543adfcf51e027d5edafe222547574c0d5120b50 (diff) | |
sound/midi: Drain the mpu401 callout
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
| -rw-r--r-- | sys/dev/sound/midi/mpu401.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/midi/mpu401.c b/sys/dev/sound/midi/mpu401.c index 4636843592e3..61a9d1be40c8 100644 --- a/sys/dev/sound/midi/mpu401.c +++ b/sys/dev/sound/midi/mpu401.c @@ -158,6 +158,7 @@ mpu401_uninit(struct mpu401 *m) { CMD(m, MPU_RESET); midi_uninit(m->mid); + callout_drain(&m->timer); free(m, M_MIDI); return 0; } |
