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 <tiwai@suse.de>
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");