summaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-08-17 10:21:38 +0200
committerTakashi Iwai <tiwai@suse.de>2020-08-20 11:00:45 +0200
commit5436f59bc5bcc27ca0244ebdb02b4228bf8b1aae (patch)
tree93867d023ae93f8ca22975e904f719f99302b00e /sound/usb/usbaudio.h
parentb90b925fd52c75ee7531df739d850a1f7c58ef06 (diff)
downloadlinux-5436f59bc5bcc27ca0244ebdb02b4228bf8b1aae.tar.gz
linux-5436f59bc5bcc27ca0244ebdb02b4228bf8b1aae.tar.bz2
linux-5436f59bc5bcc27ca0244ebdb02b4228bf8b1aae.zip
ALSA: usb-audio: Move device rename and profile quirks to an internal table
So far we've added the devices that need vendor/product string renames or the profile setup into the standard quirk table in quirks-table.h. This table is imported into the primary USB audio device entry, hence it's all exported for the probing so that udev and co can take a look at it. OTOH, for renaming or profile setup, we don't need to expose those explicit entries because the probe itself follows the standard way. That said, we're exposing unnecessarily too many entries. This patch moves such internal quirk entries into the own table, and reduces the exported device table size. Along with the moving items, re-arrange the entries in the proper order. Link: https://lore.kernel.org/r/20200817082140.20232-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usbaudio.h')
-rw-r--r--sound/usb/usbaudio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h
index b91c4c0807ec..2275295fe71f 100644
--- a/sound/usb/usbaudio.h
+++ b/sound/usb/usbaudio.h
@@ -109,7 +109,6 @@ enum quirk_type {
struct snd_usb_audio_quirk {
const char *vendor_name;
const char *product_name;
- const char *profile_name; /* override the card->longname */
int16_t ifnum;
uint16_t type;
bool shares_media_device;