Skip to contentSkip to conversation

ALSA: hda - Refresh widgets sysfs at probing Haswell+ HDMI codecs

PATCH New Takashi Iwai 1 participant 1 message Aug 21, 2015 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda - Refresh widgets sysfs at probing Haswell+ HDMI codecs

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.

---
 sound/pci/hda/patch_hdmi.c | 1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/patch_hdmi.c +1 -0
index a97db5fc8a15..df982fc6a872 100644
@@ -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
Signature · 1 line
2.5.0