diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-05-23 10:53:26 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-05-23 13:10:58 +0300 |
commit | 30fc139260d46e9bdc06e46eec91e9ff61eb387e (patch) | |
tree | 033bf2e43f50dafadc61f4076f972b465eed5b9a /include/uapi/sound/snd_ar_tokens.h | |
parent | 127ae6f6dad2edb2201e27b7e6fa72994b537fad (diff) | |
download | linux-30fc139260d46e9bdc06e46eec91e9ff61eb387e.tar.xz |
ALSA: ump: Add ioctls to inquiry UMP EP and Block info via control API
It'd be convenient to have ioctls to inquiry the UMP Endpoint and UMP
Block information directly via the control API without opening the
rawmidi interface, just like SNDRV_CTL_IOCTL_RAWMIDI_INFO.
This patch extends the rawmidi ioctl handler to support those; new
ioctls, SNDRV_CTL_IOCTL_UMP_ENDPOINT_INFO and
SNDRV_CTL_IOCTL_UMP_BLOCK_INFO, return the snd_ump_endpoint and
snd_ump_block data that is specified by the device field,
respectively.
Suggested-by: Jaroslav Kysela <perex@perex.cz>
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230523075358.9672-6-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/uapi/sound/snd_ar_tokens.h')
0 files changed, 0 insertions, 0 deletions