ALSA: usb-audio: scarlett2: Split struct scarlett2_ports
authorGeoffrey D. Bennett <g@b4.vu>
Mon, 21 Jun 2021 18:09:43 +0000 (03:39 +0930)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jun 2021 19:36:07 +0000 (21:36 +0200)
commite2cc91ac8f4e1b03a0e3e822c338401284c0b550
tree7edcab068945d79f49a9bbc0ca0a244ffeca9864
parent6522c36419af1cc3e9613d4c5342cbdc740a359a
ALSA: usb-audio: scarlett2: Split struct scarlett2_ports

The scarlett2_ports struct contains both generic (hardware IDs and
descriptions) and model-specific (port count) data. Remove the generic
data from the scarlett2_device_info struct so it is not repeated for
every model.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/7a9e57e4e55a482390c692a9e60731d72b664a15.1624294591.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett_gen2.c