Skip to content

Commit 9d65ab6

Browse files
committed
ALSA: seq: Fix missing MSB in MIDI2 SPP conversion
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/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 3cd59d8 commit 9d65ab6

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)