summaryrefslogtreecommitdiffstats
path: root/sound/core/seq
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-05-30 12:10:43 +0200
committerTakashi Iwai <tiwai@suse.de>2024-05-30 12:11:20 +0200
commit700fe6fd093d08c6da2bda8efe00479b0e617327 (patch)
treeb58be86a5bc2bb26075ad581bc0262ac2fe2d536 /sound/core/seq
parentbc42ca002d5d211f9c57334b9b4c25ddb0b4ec35 (diff)
downloadlinux-700fe6fd093d08c6da2bda8efe00479b0e617327.tar.gz
linux-700fe6fd093d08c6da2bda8efe00479b0e617327.tar.bz2
linux-700fe6fd093d08c6da2bda8efe00479b0e617327.zip
ALSA: seq: Fix yet another spot for system message conversion
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: e9e02819a98a ("ALSA: seq: Automatic conversion of UMP events") Fixes: c2bb79613fed ("ALSA: seq: Fix incorrect UMP type for system messages") Link: https://lore.kernel.org/r/20240530101044.17524-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq')
-rw-r--r--sound/core/seq/seq_ump_convert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/seq/seq_ump_convert.c b/sound/core/seq/seq_ump_convert.c
index add70b4c2885..f0f332017e66 100644
--- a/sound/core/seq/seq_ump_convert.c
+++ b/sound/core/seq/seq_ump_convert.c
@@ -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;
}