ALSA: scarlett2: Split scarlett2_config_items[] into 3 sections
authorGeoffrey D. Bennett <g@b4.vu>
Sun, 6 Mar 2022 15:21:04 +0000 (01:51 +1030)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Mar 2022 09:05:29 +0000 (10:05 +0100)
commit441d1e10476bc9d966baf32745277a6e77c325d5
tree31b0ec99f236602740ee3d2424322f1e1aece2a8
parentfc4cf4293f0da3985ca66edc2cf067531d933c42
ALSA: scarlett2: Split scarlett2_config_items[] into 3 sections

scarlett2_config_items[] contains the parameters for the configuration
items. The driver previously had two sets of configurations items; one
for devices with no mixer, and one for devices with a mixer. This
patch splits the latter into two (one set for Gen 2 devices and one
set for Gen 3 devices) in preparation for a new item (standalone)
which is present in both but with a different offset.

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