Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
ALSA: rawmidi: Add a proper disconnect handling
The rawmidi core detaches only exposed devices at disconnection, but it doesn't deal with the pending bytes or gate the further unexpected accesses, leaving naively to each driver dealing with such situations. Let's try to restrict it in the core side for more safety: introduce the disconnected flag to each substream, set it at disconnection call, then trigger down & cancel the pending event work. Link: https://patch.msgid.link/20260903150816.1917831-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Author Takashi Iwai Date (Sep 3, 2026, 4:06 PM UTC) Commit
Copy SHA
Parent bdeed064 bdeed0642157667bd14912241c83ffd50f9fec22