Skip to content

Commit 55fac50

Browse files
committed
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: e9e0281 ("ALSA: seq: Automatic conversion of UMP events") Link: https://lore.kernel.org/r/20240531123718.13420-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 6386682 commit 55fac50

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sound/core/seq/seq_ump_convert.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,8 @@ static const struct seq_ev_to_ump seq_ev_ump_encoders[] = {
10751075
system_ev_to_ump_midi1, system_ev_to_ump_midi2 },
10761076
{ SNDRV_SEQ_EVENT_SENSING, UMP_SYSTEM_STATUS_ACTIVE_SENSING,
10771077
system_ev_to_ump_midi1, system_ev_to_ump_midi2 },
1078+
{ SNDRV_SEQ_EVENT_RESET, UMP_SYSTEM_STATUS_RESET,
1079+
system_ev_to_ump_midi1, system_ev_to_ump_midi2 },
10781080
};
10791081

10801082
static const struct seq_ev_to_ump *find_ump_encoder(int type)

0 commit comments

Comments
 (0)