Skip to content

Commit

Permalink
ALSA: hda - Refresh widgets sysfs at probing Haswell+ HDMI codecs
Browse files Browse the repository at this point in the history
Intel Haswell (and later) codec refreshes the widgets tree to expose
the whole widget nodes at probing.  However, this refresh was missing
for sysfs tree.

This patch adds the missing piece, as we have now a proper API.

Reported-by: Vinod Koul <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Aug 21, 2015
1 parent 9e46aed commit fa4f18b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pci/hda/patch_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2331,6 +2331,7 @@ static int patch_generic_hdmi(struct hda_codec *codec)
if (is_haswell_plus(codec)) {
intel_haswell_enable_all_pins(codec, true);
intel_haswell_fixup_enable_dp12(codec);
snd_hdac_refresh_widget_sysfs(&codec->core);
}

/* For Valleyview/Cherryview, only the display codec is in the display
Expand Down

0 comments on commit fa4f18b

Please sign in to comment.