projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eecae4
)
ALSA: seq: ump: fix typo in system_2p_ev_to_ump_midi1()
author
Minjie Du
<duminjie@vivo.com>
Wed, 5 Jul 2023 09:35:45 +0000
(17:35 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 5 Jul 2023 09:50:29 +0000
(11:50 +0200)
Fix data->system.parm2 typo.
Fixes:
e9e02819a98a
("ALSA: seq: Automatic conversion of UMP events")
Signed-off-by: Minjie Du <duminjie@vivo.com>
Link:
https://lore.kernel.org/r/20230705093545.14695-1-duminjie@vivo.com
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
eb1d86f
..
7cc84e1
100644
(file)
--- a/
sound/core/seq/seq_ump_convert.c
+++ b/
sound/core/seq/seq_ump_convert.c
@@
-714,7
+714,7
@@
static int system_2p_ev_to_ump_midi1(const struct snd_seq_event *event,
{
data->system.status = status;
data->system.parm1 = (event->data.control.value >> 7) & 0x7f;
- data->system.parm
1
= event->data.control.value & 0x7f;
+ data->system.parm
2
= event->data.control.value & 0x7f;
return 1;
}