Skip to contentSkip to conversation

ALSA: seq: Fix yet another spot for system message conversion

PATCH New Takashi Iwai 1 participant 1 message May 30, 2024 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 sound/core/seq/seq_ump_convert.c | 1 +
 1 file changed, 1 insertion(+)
sound/core/seq/seq_ump_convert.c +1 -0
index add70b4c2885..f0f332017e66 100644
@@ -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;
 }
Signature · 1 line
2.43.0