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: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
0c3d47b007
commit
84e3908dc8
1 changed files with 1 additions and 0 deletions
|
@ -1919,6 +1919,7 @@ static int cap_put_caller(struct snd_kcontrol *kcontrol,
|
||||||
error:
|
error:
|
||||||
codec->cached_write = 0;
|
codec->cached_write = 0;
|
||||||
mutex_unlock(&codec->control_mutex);
|
mutex_unlock(&codec->control_mutex);
|
||||||
|
snd_hda_codec_flush_amp_cache(codec);
|
||||||
if (err >= 0 && spec->cap_sync_hook)
|
if (err >= 0 && spec->cap_sync_hook)
|
||||||
spec->cap_sync_hook(codec);
|
spec->cap_sync_hook(codec);
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Add table
Reference in a new issue