Skip to content

Commit 983b918

Browse files
Minjie Dutiwai
authored andcommitted
ALSA: seq: ump: fix typo in system_2p_ev_to_ump_midi1()
Fix data->system.parm2 typo. Fixes: e9e0281 ("ALSA: seq: Automatic conversion of UMP events") Signed-off-by: Minjie Du <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 4eecae4 commit 983b918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/core/seq/seq_ump_convert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ static int system_2p_ev_to_ump_midi1(const struct snd_seq_event *event,
714714
{
715715
data->system.status = status;
716716
data->system.parm1 = (event->data.control.value >> 7) & 0x7f;
717-
data->system.parm1 = event->data.control.value & 0x7f;
717+
data->system.parm2 = event->data.control.value & 0x7f;
718718
return 1;
719719
}
720720

0 commit comments

Comments
 (0)