Commit 983b9180 authored by Minjie Du's avatar Minjie Du Committed by Takashi Iwai

ALSA: seq: ump: fix typo in system_2p_ev_to_ump_midi1()

Fix data->system.parm2 typo.

Fixes: e9e02819 ("ALSA: seq: Automatic conversion of UMP events")
Signed-off-by: default avatarMinjie Du <duminjie@vivo.com>
Link: https://lore.kernel.org/r/20230705093545.14695-1-duminjie@vivo.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4eecae44
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment