aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLu, Han <han.lu@intel.com>2015-11-19 10:25:13 -0500
committerTakashi Iwai <tiwai@suse.de>2015-11-19 10:36:29 -0500
commitff9d8859e2d4e47c2d5537e309b49cf1f2ed1ddc (patch)
tree6bc86c4c6da5632357a43ff59d7f07b3dee4ebdb
parentc87693da69f979f8a4370e7bc6115dd0898d8501 (diff)
ALSA: hda - apply SKL display power request/release patch to BXT
For SKL, only the HDMI codec is in the display power well while the HD-A controller isn't. So the codec flag 'link_power_control' is set to request/release the display power via bus link_power ops. For BXT, the power well design is the same as SKL, so the patch should be applied to BXT too. Signed-off-by: Lu, Han <han.lu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_hdmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 60cd9e700909..bdb6f226d006 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -2378,7 +2378,8 @@ static int patch_generic_hdmi(struct hda_codec *codec)
2378 * can cover the codec power request, and so need not set this flag. 2378 * can cover the codec power request, and so need not set this flag.
2379 * For previous platforms, there is no such power well feature. 2379 * For previous platforms, there is no such power well feature.
2380 */ 2380 */
2381 if (is_valleyview_plus(codec) || is_skylake(codec)) 2381 if (is_valleyview_plus(codec) || is_skylake(codec) ||
2382 is_broxton(codec))
2382 codec->core.link_power_control = 1; 2383 codec->core.link_power_control = 1;
2383 2384
2384 if (is_haswell_plus(codec) || is_valleyview_plus(codec)) { 2385 if (is_haswell_plus(codec) || is_valleyview_plus(codec)) {