[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230705093545.14695-1-duminjie@vivo.com>
Date: Wed, 5 Jul 2023 17:35:45 +0800
From: Minjie Du <duminjie@...o.com>
To: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Minjie Du <duminjie@...o.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
alsa-devel@...a-project.org (moderated list:SOUND),
linux-kernel@...r.kernel.org (open list)
Cc: opensource.kernel@...o.com
Subject: [PATCH v2] sound: seq: fix typo in system_2p_ev_to_ump_midi1()
Fix data->system.parm2 typo.
Signed-off-by: Minjie Du <duminjie@...o.com>
---
sound/core/seq/seq_ump_convert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/core/seq/seq_ump_convert.c b/sound/core/seq/seq_ump_convert.c
index eb1d86ff6..7cc84e137 100644
--- 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.parm1 = event->data.control.value & 0x7f;
+ data->system.parm2 = event->data.control.value & 0x7f;
return 1;
}
--
2.39.0
Powered by blists - more mailing lists