Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: hda - hdmi: call overridden init on resume

We need to call the proper init function in case it has been
overridden, as it might restore things that the generic routing
doesn't know anything about. E.g. AMD cards have special verbs
that need resetting.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=77901
Fixes: 5a61358433b1 ('ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support')
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Cc: <stable@vger.kernel.org> [v3.13+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Pierre Ossman and committed by
Takashi Iwai
a2833683 8fffe7d1

+1 -1
+1 -1
sound/pci/hda/patch_hdmi.c
··· 2204 2204 struct hdmi_spec *spec = codec->spec; 2205 2205 int pin_idx; 2206 2206 2207 - generic_hdmi_init(codec); 2207 + codec->patch_ops.init(codec); 2208 2208 snd_hda_codec_resume_amp(codec); 2209 2209 snd_hda_codec_resume_cache(codec); 2210 2210