Skip to content

Commit

Permalink
ALSA: hda - hdmi: call overridden init on resume
Browse files Browse the repository at this point in the history
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: 5a61358 ('ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support')
Signed-off-by: Pierre Ossman <[email protected]>
Cc: <[email protected]> [v3.13+]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
ossman authored and tiwai committed Jun 23, 2014
1 parent 8fffe7d commit a283368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/patch_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2204,7 +2204,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);

Expand Down

0 comments on commit a283368

Please sign in to comment.