From 0c7086777aa4e6076a8277b3918c5243daf1c56a Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Sat, 1 Mar 2025 11:00:15 +0100 Subject: [PATCH] seq: Fix typo of the group number in snd_seq_create_ump_endpoint() The group number of UMP Endpoint client created by snd_seq_create_ump_endpoint() is wrongly set due to a copy&paste error. Fixes: 6167b8ce3e80 ("seq: Add API helper functions for creating UMP Endpoint and Blocks") Closes: https://github.com/alsa-project/alsa-lib/issues/440 Signed-off-by: Takashi Iwai --- src/seq/seqmid.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/seq/seqmid.c b/src/seq/seqmid.c index 17733ca6..28c345de 100644 --- a/src/seq/seqmid.c +++ b/src/seq/seqmid.c @@ -582,11 +582,7 @@ int snd_seq_create_ump_endpoint(snd_seq_t *seq, SNDRV_SEQ_PORT_TYPE_MIDI_UMP | SND_SEQ_PORT_TYPE_APPLICATION | SNDRV_SEQ_PORT_TYPE_PORT); - snd_seq_port_info_set_ump_group(pinfo, - SND_SEQ_PORT_TYPE_MIDI_GENERIC | - SNDRV_SEQ_PORT_TYPE_MIDI_UMP | - SND_SEQ_PORT_TYPE_APPLICATION | - SNDRV_SEQ_PORT_TYPE_PORT); + snd_seq_port_info_set_ump_group(pinfo, 0); err = snd_seq_create_port(seq, pinfo); if (err < 0) { SNDERR("Failed to create MIDI 2.0 port\n"); -- 2.47.1