Skip to contentSkip to conversation

ALSA: seq: ump: Fix missing System Reset message handling

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: seq: ump: Fix missing System Reset message handling

The conversion from System Reset event to UMP was missing. Add the entry for a conversion to a proper UMP System message.

Fixes e9e02819a98a ("ALSA: seq: Automatic conversion of UMP events")
---
 sound/core/seq/seq_ump_convert.c | 2 ++
 1 file changed, 2 insertions(+)
sound/core/seq/seq_ump_convert.c +2 -0
index 171fb75267af..d81f776a4c3d 100644
@@ -1075,6 +1075,8 @@ static const struct seq_ev_to_ump seq_ev_ump_encoders[] = {
 	  system_ev_to_ump_midi1, system_ev_to_ump_midi2 },
 	{ SNDRV_SEQ_EVENT_SENSING, UMP_SYSTEM_STATUS_ACTIVE_SENSING,
 	  system_ev_to_ump_midi1, system_ev_to_ump_midi2 },
+	{ SNDRV_SEQ_EVENT_RESET, UMP_SYSTEM_STATUS_RESET,
+	  system_ev_to_ump_midi1, system_ev_to_ump_midi2 },
 };
 
 static const struct seq_ev_to_ump *find_ump_encoder(int type)
Signature · 1 line
2.43.0