diff options
author | Takashi Iwai | 2023-06-21 13:02:39 +0200 |
---|---|---|
committer | Takashi Iwai | 2023-06-21 13:06:18 +0200 |
commit | a79807683781d3f215e9d958494e52ed70f4ad27 (patch) | |
tree | e1f07631b8f1157b2b98ec6363856def7d32ef83 /include/sound | |
parent | febdfa0e9c8a5d3a3d895245d1c294c26787daef (diff) |
ALSA: ump: Add helper to change MIDI protocol
This is a preliminary patch for MIDI 2.0 USB gadget driver.
Export a new helper to allow changing the current MIDI protocol from
the outside.
Link: https://lore.kernel.org/r/20230621110241.4751-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/ump.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/ump.h b/include/sound/ump.h index 68478e7be3b4..3c7e67475676 100644 --- a/include/sound/ump.h +++ b/include/sound/ump.h @@ -108,6 +108,8 @@ static inline int snd_ump_attach_legacy_rawmidi(struct snd_ump_endpoint *ump, } #endif +int snd_ump_switch_protocol(struct snd_ump_endpoint *ump, unsigned int protocol); + /* * Some definitions for UMP */ |