summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_hdmi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-04-29 12:28:52 +0200
committerTakashi Iwai <tiwai@suse.de>2015-04-29 12:28:52 +0200
commit85abf3ec5fa663c9638ef2d10d9623880a26458e (patch)
treece1cc6166cd34b4a49299ccf4aefaac657a34fcf /sound/pci/hda/patch_hdmi.c
parent49c4a4c5244d2c1a25ec1e01dbb4fba3813d237d (diff)
parent2bd1f73f4242ee19d8c610bcffe6e7a813451ce0 (diff)
downloadop-kernel-dev-85abf3ec5fa663c9638ef2d10d9623880a26458e.zip
op-kernel-dev-85abf3ec5fa663c9638ef2d10d9623880a26458e.tar.gz
Merge branch 'topic/hda' into for-next
Diffstat (limited to 'sound/pci/hda/patch_hdmi.c')
-rw-r--r--sound/pci/hda/patch_hdmi.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index d925742..e8d8478 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -2335,6 +2335,15 @@ static int patch_generic_hdmi(struct hda_codec *codec)
intel_haswell_fixup_enable_dp12(codec);
}
+ /* For Valleyview/Cherryview, only the display codec is in the display
+ * power well and can use link_power ops to request/release the power.
+ * For Haswell/Broadwell, the controller is also in the power well and
+ * can cover the codec power request, and so need not set this flag.
+ * For previous platforms, there is no such power well feature.
+ */
+ if (is_valleyview_plus(codec))
+ codec->core.link_power_control = 1;
+
if (is_haswell_plus(codec) || is_valleyview_plus(codec))
codec->depop_delay = 0;
OpenPOWER on IntegriCloud