ALSA: hda - Flush dirty amp caches before writing inv_dmic fix
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Dec 2012 10:33:20 +0000 (11:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:33:57 +0000 (08:33 +0100)
commitc4f3ebed3c5bc59c88eb2ccda825a12686b58341
tree97205db06f0ca8597edf3443d4d400116caec02d
parent3bcce5c0d931bf623adc5974200e4d7636b10bef
ALSA: hda - Flush dirty amp caches before writing inv_dmic fix

The inverted dmic fix overwrites the right channel amp value, but it
would work only when the amp values have been already actually
written.  Put snd_hda_codec_resume_amp() before the amp write for
flushing caches.

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