projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3d47b
)
ALSA: hda - Add missing amp cache flush for bound capture vol/sw ctls
author
Takashi Iwai
<tiwai@suse.de>
Thu, 20 Dec 2012 10:43:47 +0000
(11:43 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 12 Jan 2013 07:34:01 +0000
(08:34 +0100)
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>
sound/pci/hda/hda_generic.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_generic.c
b/sound/pci/hda/hda_generic.c
index f8d1d03cd2198084ce2c40bf93d0843587aaaca0..3e818b6aa5b00ca2161e1c1a660eafb4c44f46f2 100644
(file)
--- a/
sound/pci/hda/hda_generic.c
+++ b/
sound/pci/hda/hda_generic.c
@@
-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;