ALSA: seq: oss: Fix running status after receiving sysex
authorTakashi Iwai <tiwai@suse.de>
Mon, 16 Mar 2020 09:05:06 +0000 (10:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2020 14:34:17 +0000 (16:34 +0200)
commit76029bc4f6f4d19ad0edf32cb196adec3ba7d419
tree6c184b36f558ad025fee722a966842549c1047c0
parentc56d2421fe55db840c5457f558604e1aad2a1608
ALSA: seq: oss: Fix running status after receiving sysex

commit 6c3171ef76a0bad892050f6959a7eac02fb16df7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/seq/oss/seq_oss_midi.c