]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: rawmidi: Expose the tied device number in info ioctl
authorTakashi Iwai <tiwai@suse.de>
Fri, 10 Jan 2025 15:59:34 +0000 (16:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 12 Jan 2025 12:12:20 +0000 (13:12 +0100)
commitbdf46443f350dd5d226fd528a5a5954ff762f591
treeae3e0c2b0c92a107b02f0f77237a2ab75259055f
parent7579790915387396e26041ceafbc07348658edef
ALSA: rawmidi: Expose the tied device number in info ioctl

The UMP legacy rawmidi is derived from the UMP rawmidi, but currently
there is no way to know which device is involved in other side.

This patch extends the rawmidi info ioctl to show the tied device
number.  As default it stores -1, indicating that no tied device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250110155943.31578-2-tiwai@suse.de
Documentation/sound/designs/midi-2.0.rst
include/sound/rawmidi.h
include/uapi/sound/asound.h
sound/core/rawmidi.c
sound/core/ump.c