summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-05-23 10:53:25 +0300
committerTakashi Iwai <tiwai@suse.de>2023-05-23 13:10:57 +0300
commit127ae6f6dad2edb2201e27b7e6fa72994b537fad (patch)
tree9e1320180fe69b91bc351b18f3b0ea70a6b93582 /block
parente3a8a5b726bdd903de52bee6ba7c935c09d07ee8 (diff)
downloadlinux-127ae6f6dad2edb2201e27b7e6fa72994b537fad.tar.xz
ALSA: rawmidi: Skip UMP devices at SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE
Applications may look for rawmidi devices with the ioctl SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE. Returning a UMP device from this ioctl may confuse the existing applications that support only the legacy rawmidi. This patch changes the code to skip the UMP devices from the lookup for avoiding the confusion, and introduces a new ioctl to look for the UMP devices instead. Along with this change, bump the CTL protocol version to 2.0.9. Reviewed-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20230523075358.9672-5-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions