ALSA: scarlett2: Refactor scarlett2_config_save()
authorGeoffrey D. Bennett <g@b4.vu>
Sun, 24 Dec 2023 19:27:16 +0000 (05:57 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 14:41:22 +0000 (15:41 +0100)
commit9c2ea88e9e3b00705f519b112683a75e9b6eba1d
tree61f0b3b9cb08b78171aa1da40b41b45dfd20e4ce
parent7f4d8dbea2156802cc4cef74faa26eba8a7aa7d6
ALSA: scarlett2: Refactor scarlett2_config_save()

Use the new scarlett2_usb_activate_config() helper function rather
than preparing the request manually and calling scarlett2_usb().

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