Skip to content

Commit

Permalink
ALSA: seq: Fix yet another spot for system message conversion
Browse files Browse the repository at this point in the history
We fixed the incorrect UMP type for system messages in the recent
commit, but it missed one place in system_ev_to_ump_midi1().
Fix it now.

Fixes: e9e0281 ("ALSA: seq: Automatic conversion of UMP events")
Fixes: c2bb796 ("ALSA: seq: Fix incorrect UMP type for system messages")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed May 30, 2024
1 parent bc42ca0 commit 700fe6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/core/seq/seq_ump_convert.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ static int system_ev_to_ump_midi1(const struct snd_seq_event *event,
union snd_ump_midi1_msg *data,
unsigned char status)
{
data->system.type = UMP_MSG_TYPE_SYSTEM; // override
data->system.status = status;
return 1;
}
Expand Down

0 comments on commit 700fe6f

Please sign in to comment.