Browse Source

ALSA: hda - hdmi: call overridden init on resume

commit a283368382 upstream.

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: 5a61358433 ('ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support')
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
isee-imx_3.14.28.y
Pierre Ossman 6 years ago
committed by Greg Kroah-Hartman
parent
commit
22d8ed49fe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sound/pci/hda/patch_hdmi.c

+ 1
- 1
sound/pci/hda/patch_hdmi.c View File

@ -2165,7 +2165,7 @@ static int generic_hdmi_resume(struct hda_codec *codec)
struct hdmi_spec *spec = codec->spec;
int pin_idx;
generic_hdmi_init(codec);
codec->patch_ops.init(codec);
snd_hda_codec_resume_amp(codec);
snd_hda_codec_resume_cache(codec);


Loading…
Cancel
Save