ALSA: usb-audio: scarlett2: Read mixer volumes at init time
Add support for reading the mixer volumes from the hardware when the driver is initialising. Previously these ALSA volume controls were initialised to zero instead of being initialised to match the hardware state. Fixes: 9e4d5c1b ("ALSA: usb-audio: Scarlett Gen 2 mixer interface") Suggested-by: NVladimir Sadovnikov <sadko4u@gmail.com> Tested-by: NMarkus Schroetter <project.m.schroetter@gmail.com> Tested-by: NAlex Fellows <alex.fellows@gmail.com> Tested-by: NDaniel Sales <daniel.sales.z@gmail.com> Signed-off-by: NGeoffrey D. Bennett <g@b4.vu> Link: https://lore.kernel.org/r/bb33fa9b79efc6f7a0f0e6fb7018cc8d4d59b3ba.1623091570.git.g@b4.vuSigned-off-by: NTakashi Iwai <tiwai@suse.de>
Showing
想要评论请 注册 或 登录