ALSA: seq: Fix incorrect UMP type for system messages
authorTakashi Iwai <tiwai@suse.de>
Wed, 29 May 2024 08:37:59 +0000 (10:37 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 May 2024 08:39:40 +0000 (10:39 +0200)
commitedb32776196afa393c074d6a2733e3a69e66b299
tree9b8f67c57560451e3c00f3061ba1298ab10d9e77
parente662c90a6debc3bd8d8eff916ad21d9ec458dfcd
ALSA: seq: Fix incorrect UMP type for system messages

When converting a legacy system message to a UMP packet, it forgot to
modify the UMP type field but keeping the default type (either type 2
or 4).  Correct to the right type for system messages.

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