ALSA: usb-audio: scarlett2: Update mux controls to allow updates
authorGeoffrey D. Bennett <g@b4.vu>
Tue, 22 Jun 2021 17:03:50 +0000 (02:33 +0930)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jun 2021 19:42:24 +0000 (21:42 +0200)
commit8df25eb0a2ecdcc25a869f6126c35f89af90efb2
tree1c11db299eb1e4d6df982c6d4da1f521f216efe9
parentf02da6534810acb8d101143255a30e706ec7bb81
ALSA: usb-audio: scarlett2: Update mux controls to allow updates

Enabling/disabling speaker switching will update the mux
configuration. To prepare for this, add a private->mux_updated flag
and update the scarlett2_mux_src_enum_ctl_get() callback to check it.

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