summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorHyeongJun An <sammiee5311@gmail.com>2026-10-29 22:05:37 +0900
committerTakashi Iwai <tiwai@suse.de>2026-11-05 08:54:44 +0100
commitac1cac4c1f1b143650f7261ae78f64a3e22fa4d6 (patch)
tree45f3166cf308775699aebe76c667e20b2df93ec5 /scripts/stackusage
parent5067ce3ba8218a941344b76249bf185e1cda6051 (diff)
ALSA: ump: Fix dropped data bytes at UMP System message conversion
The cvt_ump_system_to_legacy() function switches on ump_message_status_code(), which returns only the upper 4 bits of the status. The case labels are the full 0xf1, 0xf2 and 0xf3 values, so they never match. MIDI Time Code, Song Position and Song Select are converted to the status byte alone, and their data bytes are lost. Switch on the full status byte in buf[0] instead. Both callers of snd_ump_convert_from_ump() pass the result on as is: the legacy rawmidi input of a UMP endpoint, and the MIDI 1.0 path of the f_midi2 USB gadget. Fixes: 0b5288f5fe63 ("ALSA: ump: Add legacy raw MIDI support") Cc: stable@vger.kernel.org Signed-off-by: HyeongJun An <sammiee5311@gmail.com> Link: https://patch.msgid.link/20261029130538.1985867-1-sammiee5311@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions