]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix missing call of cmd flush in capture volume put callback
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 Jan 2013 14:18:17 +0000 (15:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jan 2013 14:18:17 +0000 (15:18 +0100)
commitb05fb9a9f18aeda1a160a1726a000410bf02a696
treefa3fe65edec1b72f29348aed6b01afa28b0aa8a0
parent9c7f50ba2aa13dc95f6c2ed163ca3fe1c385d30b
ALSA: hda - Fix missing call of cmd flush in capture volume put callback

The capture volume put callback may call the node selection change,
and its actual call won't be triggered unless flushed.  In general,
we always need to call both snd_hda_codec_flush_amp_cache() and
snd_hda_codec_flush_cmd_cache() at the same place...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c