Skip to content

Commit

Permalink
ALSA: seq: Fix missing MSB in MIDI2 SPP conversion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tiwai committed Jun 26, 2024
1 parent 3cd59d8 commit 9d65ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/core/seq/seq_ump_convert.c
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ static int system_2p_ev_to_ump_midi2(const struct snd_seq_event *event,
union snd_ump_midi2_msg *data,
unsigned char status)
{
return system_1p_ev_to_ump_midi1(event, dest_port,
return system_2p_ev_to_ump_midi1(event, dest_port,
(union snd_ump_midi1_msg *)data,
status);
}
Expand Down

0 comments on commit 9d65ab6

Please sign in to comment.