ALSA: ump: Explicitly reset RPN with Null RPN
authorTakashi Iwai <tiwai@suse.de>
Wed, 31 Jul 2024 13:05:23 +0000 (15:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 31 Jul 2024 13:08:39 +0000 (15:08 +0200)
commit50a6dd19dca9446475f023eaa652016bfe5b1cbe
tree7aa7dddec839c1d436968342153e7fa23719f862
parente6ce8a28c768dbbad3f818db286cd0f4c7a921a8
ALSA: ump: Explicitly reset RPN with Null RPN

RPN with 127:127 is treated as a Null RPN, just to reset the
parameters, and it's not translated to MIDI2.  Although the current
code can work as is in most cases, better to implement the RPN reset
explicitly for Null message.

Link: https://patch.msgid.link/20240731130528.12600-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/ump_convert.c