diff options
author | Geoffrey D. Bennett <g@b4.vu> | 2021-06-08 04:43:51 +0930 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-06-08 14:02:43 +0200 |
commit | d6f9afe9475fdb0b79e3baf58dabfaf547e5d1a7 (patch) | |
tree | f48482988cc0c86665bf967eabda14ad4f8e5daf /sound/isa/sb/sb16_main.c | |
parent | 2661f033c40236aa9d470eccdee35e7a04fc8d1a (diff) |
ALSA: usb-audio: scarlett2: Read mux at init time
Add support for retrieving the mux configuration from the hardware
when the driver is initialising. Previously the ALSA controls were
initialised to a default hard-coded state instead of being initialised
to match the hardware state.
Fixes: 9e4d5c1be21f ("ALSA: usb-audio: Scarlett Gen 2 mixer interface")
Suggested-by: Vladimir Sadovnikov <sadko4u@gmail.com>
Tested-by: Markus Schroetter <project.m.schroetter@gmail.com>
Tested-by: Alex Fellows <alex.fellows@gmail.com>
Tested-by: Daniel Sales <daniel.sales.z@gmail.com>
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/15b17c60a2bca174bcddcec41c9419b746f21c1d.1623091570.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/sb/sb16_main.c')
0 files changed, 0 insertions, 0 deletions