These two patches add support for reading the mixer volumes and mux configuration from the hardware when the driver is initialising.
Previously the ALSA volume controls were initialised to zero and the mux configuration set to a fixed default instead of being initialised to match the hardware state.
The ALSA controls for the Scarlett Gen 2 interfaces should now always be in sync with the hardware. Thanks to Vladimir Sadovnikov for figuring out how to do this.
Takashi, if these pass your review, I believe that they are appropriate for: #Cc: stable@vger.kernel.org
Geoffrey D. Bennett (2): ALSA: usb-audio: scarlett2: Read mixer volumes at init time ALSA: usb-audio: scarlett2: Read mux at init time
sound/usb/mixer_scarlett_gen2.c | 227 ++++++++++++++++++++++---------- 1 file changed, 161 insertions(+), 66 deletions(-)