Commit 84e3908d authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Add missing amp cache flush for bound capture vol/sw ctls

The bound capture volume and switch controls use the cached amp
updates, but it's missing the flushing at the end.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0c3d47b0
......@@ -1919,6 +1919,7 @@ static int cap_put_caller(struct snd_kcontrol *kcontrol,
error:
codec->cached_write = 0;
mutex_unlock(&codec->control_mutex);
snd_hda_codec_flush_amp_cache(codec);
if (err >= 0 && spec->cap_sync_hook)
spec->cap_sync_hook(codec);
return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment