ALSA: scarlett2: Disable autogain during phantom power state change
authorGeoffrey D. Bennett <g@b4.vu>
Tue, 26 Dec 2023 18:07:56 +0000 (04:37 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 14:52:13 +0000 (15:52 +0100)
commit882a2a36c41df96d0449c3751dceb86415b44a56
tree6e74b973343ae289a2938f29769e8da1da7454bf
parent0d2e791db4c81d295334ca09ad30cc2083f94b04
ALSA: scarlett2: Disable autogain during phantom power state change

When phantom power is enabled or disabled, the autogain control cannot
be enabled until the interface has signalled that the change is
complete and the input is unmuted. 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/f49f7bf9358e1f20713d95d407d8d6a436859877.1703612638.git.g@b4.vu
sound/usb/mixer_scarlett2.c