]> git.itanic.dy.fi Git - linux-stable/commit
ALSA: seq: ump: Fix conversion from MIDI2 to MIDI1 UMP messages
authorTakashi Iwai <tiwai@suse.de>
Fri, 19 Apr 2024 10:04:39 +0000 (12:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Apr 2024 10:07:14 +0000 (12:07 +0200)
commitf25f17dc5c6a5e3f2014d44635f0c0db45224efe
treebed8907b1c3a89b0e61924222efba4f64b87ee2a
parent7ee5faad0f8c3ad86c8cfc2f6aac91d2ba29790f
ALSA: seq: ump: Fix conversion from MIDI2 to MIDI1 UMP messages

The conversion from MIDI2 to MIDI1 UMP messages had a leftover
artifact (superfluous bit shift), and this resulted in the bogus type
check, leading to empty outputs.  Let's fix it.

Fixes: e9e02819a98a ("ALSA: seq: Automatic conversion of UMP events")
Cc: <stable@vger.kernel.org>
Link: https://github.com/alsa-project/alsa-utils/issues/262
Message-ID: <20240419100442.14806-1-tiwai@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_ump_convert.c