From: Minjie Du Date: Wed, 5 Jul 2023 09:35:45 +0000 (+0800) Subject: ALSA: seq: ump: fix typo in system_2p_ev_to_ump_midi1() X-Git-Tag: v6.5-rc1~21^2~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=983b9180db96255183c30f69fe43c0db75bf8502;p=thirdparty%2Fkernel%2Flinux.git ALSA: seq: ump: fix typo in system_2p_ev_to_ump_midi1() Fix data->system.parm2 typo. Fixes: e9e02819a98a ("ALSA: seq: Automatic conversion of UMP events") Signed-off-by: Minjie Du Link: https://lore.kernel.org/r/20230705093545.14695-1-duminjie@vivo.com Signed-off-by: Takashi Iwai --- diff --git a/sound/core/seq/seq_ump_convert.c b/sound/core/seq/seq_ump_convert.c index eb1d86ff6166e..7cc84e137999c 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; }