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)
commita836dbf685fa58c7db6cd56ad4559b2e6c02c8d9
treefa3fe65edec1b72f29348aed6b01afa28b0aa8a0
parent4bd01e9336cd0fa037c79b6b203a4b79aecbfb09
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