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:
3cd59d8
)
ALSA: seq: Fix missing MSB in MIDI2 SPP conversion
author
Takashi Iwai
<tiwai@suse.de>
Wed, 26 Jun 2024 14:51:13 +0000
(16:51 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 26 Jun 2024 14:52:12 +0000
(16:52 +0200)
The conversion of SPP to MIDI2 UMP called a wrong function, and the
secondary argument wasn't taken. As a result, MSB of SPP was always
zero. Fix to call the right function.
Fixes:
e9e02819a98a
("ALSA: seq: Automatic conversion of UMP events")
Link:
https://patch.msgid.link/20240626145141.16648-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
6687efd
..
e90b27a
100644
(file)
--- a/
sound/core/seq/seq_ump_convert.c
+++ b/
sound/core/seq/seq_ump_convert.c
@@
-1020,7
+1020,7
@@
static int system_2p_ev_to_ump_midi2(const struct snd_seq_event *event,
union snd_ump_midi2_msg *data,
unsigned char status)
{
- return system_
1
p_ev_to_ump_midi1(event, dest_port,
+ return system_
2
p_ev_to_ump_midi1(event, dest_port,
(union snd_ump_midi1_msg *)data,
status);
}