Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ALSA: seq: oss: Fix running status after receiving sysex

This is a similar bug like the previous case for virmidi: the invalid
running status is kept after receiving a sysex message.

Again the fix is to clear the running status after handling the sysex.

Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/3b4a4e0f232b7afbaf0a843f63d0e538e3029bfd.camel@domdv.de
Link: https://lore.kernel.org/r/20200316090506.23966-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

+1
+1
sound/core/seq/oss/seq_oss_midi.c
··· 602 602 len = snd_seq_oss_timer_start(dp->timer); 603 603 if (ev->type == SNDRV_SEQ_EVENT_SYSEX) { 604 604 snd_seq_oss_readq_sysex(dp->readq, mdev->seq_device, ev); 605 + snd_midi_event_reset_decode(mdev->coder); 605 606 } else { 606 607 len = snd_midi_event_decode(mdev->coder, msg, sizeof(msg), ev); 607 608 if (len > 0)