Skip to contentSkip to conversation

sound: seq: fix typo in system_2p_ev_to_ump_midi1()

PATCH Applied Minjie Du 2 participants 3 messages Jul 5, 2023 – Jul 10, 2023 Sound

lore
Share & tools
lore

Minjie Du

author
#0 lore raw

PATCH v2 1/1 sound: seq: fix typo in system_2p_ev_to_ump_midi1()

Fix data->system.parm2 typo.

---
 sound/core/seq/seq_ump_convert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/core/seq/seq_ump_convert.c +1 -1
index eb1d86ff6..7cc84e137 100644
@@ -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.parm1 = event->data.control.value & 0x7f;
+	data->system.parm2 = event->data.control.value & 0x7f;
 	return 1;
 }
 
Signature · 1 line
2.39.0
Applied
#1 lore raw
Quoted 4 lines · Minjie Du

Fix data->system.parm2 typo.

Thanks, applied now.

At the next time, though, it'd be appreciated if you give the corresponding Fixes tag, too. I added manually for now.

Takashi

author Applied
#2 lore raw
Quoted 1 line

At the next time, though, it'd be appreciated if you give the corresponding Fixes tag, too.

Sorry it was my mistake, thanks

-----邮件原件-----
发件人: Takashi Iwai <[email protected]>
发送时间: 2023年7月5日 17:53
收件人: 杜敏杰 <[email protected]>
抄送: Jaroslav Kysela <[email protected]>; Takashi Iwai <[email protected]>; Stephen Rothwell <[email protected]>; moderated list:SOUND <[email protected]>; open list <[email protected]>; opensource.kernel <[email protected]> 主题: Re: [PATCH v2] sound: seq: fix typo in system_2p_ev_to_ump_midi1()

[Some people who received this message don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Quoted 4 lines · Minjie Du

Fix data->system.parm2 typo.

Thanks, applied now.

At the next time, though, it'd be appreciated if you give the corresponding Fixes tag, too. I added manually for now.

Takashi