diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-05-23 10:53:31 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-05-23 13:11:05 +0300 |
commit | 06cf3bf09d83944382b36c7617277619f25f49e4 (patch) | |
tree | d950957bbd1a39a178f0278bf0fcaaf9ff8d6a1f /sound/usb/power.c | |
parent | ff49d1df79aef7580fe3ac99d17c3f886655d080 (diff) | |
download | linux-06cf3bf09d83944382b36c7617277619f25f49e4.tar.xz |
ALSA: usb-audio: Get UMP EP name string from USB interface
USB descriptor may provide a nicer name for USB interface, and we may
take it as the UMP Endpoint name. The UMP EP name is copied as the
rawmidi name, too.
Also, fill the UMP block product_id field from the iSerialNumber
string of the USB device descriptor as a recommended unique id, too.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230523075358.9672-11-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/power.c')
0 files changed, 0 insertions, 0 deletions