summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai2015-08-21 15:05:20 +0200
committerTakashi Iwai2015-08-21 15:11:52 +0200
commitfa4f18b4f402d3654415935511d8e0bb51a102b7 (patch)
treec438fade737453185d959e028f9ce46b99c83c8f /sound
parentALSA: hdsp: silence and underflow warning (diff)
downloadkernel-qcow2-linux-fa4f18b4f402d3654415935511d8e0bb51a102b7.tar.gz
kernel-qcow2-linux-fa4f18b4f402d3654415935511d8e0bb51a102b7.tar.xz
kernel-qcow2-linux-fa4f18b4f402d3654415935511d8e0bb51a102b7.zip
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. Reported-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_hdmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index a97db5fc8a15..df982fc6a872 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -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