]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: scarlett2: Disable input controls while autogain is running
authorGeoffrey D. Bennett <g@b4.vu>
Tue, 26 Dec 2023 18:07:36 +0000 (04:37 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 14:52:13 +0000 (15:52 +0100)
commit0d2e791db4c81d295334ca09ad30cc2083f94b04
tree94e58ec93075deca43ee33f9614dbc2748f9d782
parenta1ed1d6caf680e22b933d1fa89f3d4a4c313d91e
ALSA: scarlett2: Disable input controls while autogain is running

While the autogain function is running, the other input controls
(select, link, gain, safe, level, air, and phantom) can't be modified.
Update those controls to be read-only during this time.

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