[PATCH 0/2] ALSA: usb-audio: scarlett2: Read all configuration at init time
Geoffrey D. Bennett
g at b4.vu
Sun Jun 6 16:16:44 CEST 2021
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 at 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(-)
--
2.31.1
More information about the Alsa-devel
mailing list