ALSA: scarlett2: Move USB IDs out from device_info struct
authorGeoffrey D. Bennett <g@b4.vu>
Thu, 14 Sep 2023 17:32:16 +0000 (03:02 +0930)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Sep 2023 15:47:03 +0000 (17:47 +0200)
commitd98cc489029dba4d99714c2e8ec4f5ba249f6851
tree51093420b1bde1da37c771eaf76fed850fe7b885
parentbc83058f598757a908b30f8f536338cb1478ab5b
ALSA: scarlett2: Move USB IDs out from device_info struct

By moving the USB IDs from the device_info struct into
scarlett2_devices[], that will allow for devices with different
USB IDs to share the same device_info.

Tested-by: Philippe Perrot <philippe@perrot-net.fr>
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/8263368e8d49e6fcebc709817bd82ab79b404468.1694705811.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett_gen2.c