]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: usb-audio: Use strings in struct usb_dev for manufacturer & co
authorTakashi Iwai <tiwai@suse.de>
Thu, 5 Mar 2026 13:04:25 +0000 (14:04 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 5 Mar 2026 14:53:13 +0000 (15:53 +0100)
commitb364a0d23cae157691cde2c0137998d66b45b703
tree89271312d9fbe2ab6dae43e011f7bccff49cf92b
parent27b9bcad2bf77e12c08e36d8d72bd6ce0db46041
ALSA: usb-audio: Use strings in struct usb_dev for manufacturer & co

The USB core already prepares the strings for manufacturer, product
and serial number, and we don't have to extract the string at each
time.  Replace the manual usb_string() calls with the corresponding
pointers in struct usb_dev as a code cleanup.

Link: https://patch.msgid.link/20260305130426.975604-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c
sound/usb/midi2.c