mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
ALSA: seq: Fix missing seq port info bit return for MIDI 1.0 block
The recent extension added a new ALSA sequencer port info flag bit
SNDRV_SEQ_PORT_FLG_IS_MIDI1, but it's not reported back when
inquired. Fix it to report properly.
Fixes: 0079c9d1e5
("ALSA: ump: Handle MIDI 1.0 Function Block in MIDI 2.0 protocol")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240807092303.1935-7-tiwai@suse.de
This commit is contained in:
parent
8e3f30b8dc
commit
b977831342
@ -401,6 +401,9 @@ int snd_seq_get_port_info(struct snd_seq_client_port * port,
|
||||
info->time_queue = port->time_queue;
|
||||
}
|
||||
|
||||
if (port->is_midi1)
|
||||
info->flags |= SNDRV_SEQ_PORT_FLG_IS_MIDI1;
|
||||
|
||||
/* UMP direction and group */
|
||||
info->direction = port->direction;
|
||||
info->ump_group = port->ump_group;
|
||||
|
Loading…
Reference in New Issue
Block a user