diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-10-15 09:54:38 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-15 12:25:54 +0200 |
| commit | 85e8c5f933ee3dbc9d061e121237797e9fa05315 (patch) | |
| tree | f5405164a352e1ae6016f68c30f3ed4e0b5408d1 /tools/lib/python | |
| parent | 044d41b43ee19aa29cb0c9b7b8e77fd113336522 (diff) | |
ALSA: ump: Correct return size of fill_rpn()
The RPN/NRPN conversion in fill_rpn() is supposed to return the number
of bytes of the resultant UMP packet, but it returns boolean values.
This would result in the incorrect ump_bytes in the converter, which
will confuse stream processing. Correct to the right value 8 as a MIDI
2.0 UMP packet.
Fixes: e6ce8a28c768 ("ALSA: ump: Transmit RPN/NRPN message at each MSB/LSB data reception")
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20261015075439.50088-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
