projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6386682
)
ALSA: seq: ump: Fix missing System Reset message handling
author
Takashi Iwai
<tiwai@suse.de>
Fri, 31 May 2024 12:37:17 +0000
(14:37 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 31 May 2024 12:39:32 +0000
(14:39 +0200)
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")
Link:
https://lore.kernel.org/r/20240531123718.13420-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_ump_convert.c
patch
|
blob
|
history
diff --git
a/sound/core/seq/seq_ump_convert.c
b/sound/core/seq/seq_ump_convert.c
index
171fb75
..
d81f776
100644
(file)
--- a/
sound/core/seq/seq_ump_convert.c
+++ b/
sound/core/seq/seq_ump_convert.c
@@
-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)