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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 27 Jul 2013 04:34:12 +0000 (05:34 +0100)
commit28009d3918aabba0e0713baa49f8f6367604af51
tree3517c25c29215bc8fbda815bbe140c318ce3c305
parent65f64b4184f403a938e80876474a006439269a7b
ALSA: hda - Cache the MUX selection for generic HDMI

commit bddee96b5d0db869f47b195fe48c614ca824203c upstream.

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().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/patch_hdmi.c