diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-07 11:22:59 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-07 11:31:38 +0200 |
commit | ebaa86c0bddd2c47c516bf2096b17c0bed71d914 (patch) | |
tree | 0322b60bcac4162573cdf2529c9e9ecb03c9454c /include/sound | |
parent | ac3a9185bd5f547cb16ef1388e8786ad5a6e8858 (diff) |
ALSA: usb-audio: Update UMP group attributes for GTB blocks, too
When a FB is created from a GTB instead of UMP FB Info inquiry, we
missed the update of the corresponding UMP Group attributes.
Export the call of updater and let it be called from the USB driver.
Fixes: 0642a3c5cacc ("ALSA: ump: Update substream name from assigned FB names")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240807092303.1935-5-tiwai@suse.de
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/ump.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/ump.h b/include/sound/ump.h index 7484f62fb234..532c2c3ea28e 100644 --- a/include/sound/ump.h +++ b/include/sound/ump.h @@ -123,6 +123,7 @@ static inline int snd_ump_attach_legacy_rawmidi(struct snd_ump_endpoint *ump, int snd_ump_receive_ump_val(struct snd_ump_endpoint *ump, u32 val); int snd_ump_switch_protocol(struct snd_ump_endpoint *ump, unsigned int protocol); +void snd_ump_update_group_attrs(struct snd_ump_endpoint *ump); /* * Some definitions for UMP |