ALSA: rawmidi: Add ioctl callback to snd_rawmidi_global_ops
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 07:53:23 +0000 (09:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 10:10:53 +0000 (12:10 +0200)
commitfb3bd1215909866d6105224abe1566fd52695859
tree48161e37c9de129d780a2531d7aa122ebaf860f9
parent09b62892ddeeb38c11979979e3c65a14dba5fdc6
ALSA: rawmidi: Add ioctl callback to snd_rawmidi_global_ops

A new callback, ioctl, is added to snd_rawmidi_global_ops for allowing
the driver to deal with the own ioctls.  This is another preparation
patch for the upcoming UMP support.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230523075358.9672-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/rawmidi.h
sound/core/rawmidi.c