diff options
author | Libin Yang <libin.yang@intel.com> | 2015-04-07 08:32:20 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-07 08:51:35 -0400 |
commit | 2d846c74027231264e57e4e34faf9576394e3ce0 (patch) | |
tree | 7c4da62bace11e6a44ef268fa1d8c9ab29ac890a /sound/pci | |
parent | f32c1c1b46c2bd5fda77b49e28b9f9329cd830d1 (diff) |
ALSA: hda_intel: add AZX_DCAPS_I915_POWERWELL for SKL and BSW
HDMI/DP codec on SKL/BSW is in the power well.
The power well must be turned on before probing the
HDMI/DP codec.
This is a temporary patch, which will power on the
powerwell by adding AZX_DCAPS_I915_POWERWELL for SKL
and BSW. After restructuring and new flag is added,
this patch will be reverted.
Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index feebc1dda912..9bcc5457a83e 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -297,8 +297,12 @@ enum { | |||
297 | AZX_DCAPS_PM_RUNTIME | AZX_DCAPS_I915_POWERWELL |\ | 297 | AZX_DCAPS_PM_RUNTIME | AZX_DCAPS_I915_POWERWELL |\ |
298 | AZX_DCAPS_SNOOP_TYPE(SCH)) | 298 | AZX_DCAPS_SNOOP_TYPE(SCH)) |
299 | 299 | ||
300 | #define AZX_DCAPS_INTEL_BRASWELL \ | ||
301 | (AZX_DCAPS_INTEL_PCH | AZX_DCAPS_I915_POWERWELL) | ||
302 | |||
300 | #define AZX_DCAPS_INTEL_SKYLAKE \ | 303 | #define AZX_DCAPS_INTEL_SKYLAKE \ |
301 | (AZX_DCAPS_INTEL_PCH | AZX_DCAPS_SEPARATE_STREAM_TAG) | 304 | (AZX_DCAPS_INTEL_PCH | AZX_DCAPS_SEPARATE_STREAM_TAG |\ |
305 | AZX_DCAPS_I915_POWERWELL) | ||
302 | 306 | ||
303 | /* quirks for ATI SB / AMD Hudson */ | 307 | /* quirks for ATI SB / AMD Hudson */ |
304 | #define AZX_DCAPS_PRESET_ATI_SB \ | 308 | #define AZX_DCAPS_PRESET_ATI_SB \ |
@@ -1991,7 +1995,7 @@ static const struct pci_device_id azx_ids[] = { | |||
1991 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM }, | 1995 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM }, |
1992 | /* Braswell */ | 1996 | /* Braswell */ |
1993 | { PCI_DEVICE(0x8086, 0x2284), | 1997 | { PCI_DEVICE(0x8086, 0x2284), |
1994 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH }, | 1998 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_BRASWELL }, |
1995 | /* ICH6 */ | 1999 | /* ICH6 */ |
1996 | { PCI_DEVICE(0x8086, 0x2668), | 2000 | { PCI_DEVICE(0x8086, 0x2668), |
1997 | .driver_data = AZX_DRIVER_ICH | AZX_DCAPS_INTEL_ICH }, | 2001 | .driver_data = AZX_DRIVER_ICH | AZX_DCAPS_INTEL_ICH }, |