summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-06-26 16:51:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-05 09:33:49 +0200
commitb5418b41622341bf895cdf80a977411f8d2e2c4a (patch)
treed9587fef294d6e8f35df32acea60345fca1f4b6c /sound/core
parentb4b26d23a1e2bc188cec8592e111d68d83b9031f (diff)
downloadlinux-b5418b41622341bf895cdf80a977411f8d2e2c4a.tar.gz
linux-b5418b41622341bf895cdf80a977411f8d2e2c4a.tar.bz2
linux-b5418b41622341bf895cdf80a977411f8d2e2c4a.zip
ALSA: seq: Fix missing MSB in MIDI2 SPP conversion
[ Upstream commit 9d65ab6050d25f17c13f4195aa8e160c6ac638f6 ] The conversion of SPP to MIDI2 UMP called a wrong function, and the secondary argument wasn't taken. As a result, MSB of SPP was always zero. Fix to call the right function. Fixes: e9e02819a98a ("ALSA: seq: Automatic conversion of UMP events") Link: https://patch.msgid.link/20240626145141.16648-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/seq/seq_ump_convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/seq_ump_convert.c b/sound/core/seq/seq_ump_convert.c
index 6687efdceea1..e90b27a135e6 100644
--- a/sound/core/seq/seq_ump_convert.c
+++ b/sound/core/seq/seq_ump_convert.c
@@ -1020,7 +1020,7 @@ static int system_2p_ev_to_ump_midi2(const struct snd_seq_event *event,
union snd_ump_midi2_msg *data,
unsigned char status)
{
- return system_1p_ev_to_ump_midi1(event, dest_port,
+ return system_2p_ev_to_ump_midi1(event, dest_port,
(union snd_ump_midi1_msg *)data,
status);
}