ALSA: seq: Don't clear bank selection at event -> UMP MIDI2 conversion
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 May 2024 15:18:50 +0000 (17:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 May 2024 11:07:20 +0000 (13:07 +0200)
commita200df7deb3186cd7b55abb77ab96dfefb8a4f09
treecf141fa634fb13a114985326ea3842fd9bceb253
parent8a42886cae307663f3f999846926bd6e64392000
ALSA: seq: Don't clear bank selection at event -> UMP MIDI2 conversion

The current code to convert from a legacy sequencer event to UMP MIDI2
clears the bank selection at each time the program change is
submitted.  This is confusing and may lead to incorrect bank values
tranmitted to the destination in the end.

Drop the line to clear the bank info and keep the provided values.

Fixes: e9e02819a98a ("ALSA: seq: Automatic conversion of UMP events")
Link: https://lore.kernel.org/r/20240527151852.29036-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_ump_convert.c