ALSA: hda - Cache the MUX selection for generic HDMI
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Jun 2013 14:14:22 +0000 (16:14 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jun 2013 14:14:22 +0000 (16:14 +0200)
commitbddee96b5d0db869f47b195fe48c614ca824203c
treed89eb2e6173edff5523222d4021b173ee375d516
parent1389fd03b7ff72625cdae5cc3f838ce093661200
ALSA: hda - Cache the MUX selection for generic HDMI

When a selection to a converter MUX is changed in hdmi_pcm_open(), it
should be cached so that the given connection can be restored properly
at PM resume.  We need just to replace the corresponding
snd_hda_codec_write() call with snd_hda_codec_write_cache().

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c