git: f960b33d35da - main - sound/midi: Drain the mpu401 callout
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Nov 2026 16:38:11 UTC
The branch main has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=f960b33d35dafa85a7373f6ab68e499e8d47dc3a
commit f960b33d35dafa85a7373f6ab68e499e8d47dc3a
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-11-10 14:11:30 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-11-12 16:35:49 +0000
sound/midi: Drain the mpu401 callout
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
---
sys/dev/sound/midi/mpu401.c | 1 +
1 file changed, 1 insertion(+)
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;
}