Skip to content

Commit 67704fd

Browse files
tiwaismb49
authored andcommitted
ALSA: seq: Fix missing MSB in MIDI2 SPP conversion
BugLink: https://bugs.launchpad.net/bugs/2076435 [ Upstream commit 9d65ab6 ] The conversion of SPP to MIDI2 UMP called a wrong function, and the secondary argument wasn't taken. As a result, MSB of SPP was always zero. Fix to call the right function. Fixes: e9e0281 ("ALSA: seq: Automatic conversion of UMP events") Link: https://patch.msgid.link/20240626145141.16648-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Portia Stephens <portia.stephens@canonical.com> Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
1 parent ada031c commit 67704fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/core/seq/seq_ump_convert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ static int system_2p_ev_to_ump_midi2(const struct snd_seq_event *event,
10201020
union snd_ump_midi2_msg *data,
10211021
unsigned char status)
10221022
{
1023-
return system_1p_ev_to_ump_midi1(event, dest_port,
1023+
return system_2p_ev_to_ump_midi1(event, dest_port,
10241024
(union snd_ump_midi1_msg *)data,
10251025
status);
10261026
}

0 commit comments

Comments
 (0)