]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: scarlett2: Correct channel mute status after mute button pressed
authorGeoffrey D. Bennett <g@b4.vu>
Thu, 22 Jul 2021 20:12:48 +0000 (05:42 +0930)
committerTakashi Iwai <tiwai@suse.de>
Sat, 24 Jul 2021 08:05:06 +0000 (10:05 +0200)
commitbdd5ae34905e303c95b590a300fcd3b3057d9d33
tree83c595a390a4a16fd54a2326eaa130da9858786b
parent46041ea51dbec375d343d3e0fc596c8956937dea
ALSA: scarlett2: Correct channel mute status after mute button pressed

After the hardware mute button is pressed, private->vol_updated is set
so that the mute status is invalidated. As the channel mute values may
be affected by the global mute value, update scarlett2_mute_ctl_get()
to call scarlett2_update_volumes() if private->vol_updated is set.

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