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 <duminjie@vivo.com>
Link: https://lore.kernel.org/r/20230705093545.14695-1-duminjie@vivo.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Minjie Du 2023-07-05 17:35:45 +08:00 committed by Takashi Iwai
parent 4eecae44a5
commit 983b9180db

View File

@ -714,7 +714,7 @@ static int system_2p_ev_to_ump_midi1(const struct snd_seq_event *event,
{ {
data->system.status = status; data->system.status = status;
data->system.parm1 = (event->data.control.value >> 7) & 0x7f; 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; return 1;
} }