Commit b1920c21 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Enable runtime PM on Panther Point

Now we fixed the long-standing bugs of runtime PM, let's enable
Panther Point again.  The runtime PM was disabled in the HDMI codec
driver due to the S3 issue, and this should have been fixed now.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a40e0a88
...@@ -3978,7 +3978,7 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = { ...@@ -3978,7 +3978,7 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
.driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM }, .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM },
/* Panther Point */ /* Panther Point */
{ PCI_DEVICE(0x8086, 0x1e20), { PCI_DEVICE(0x8086, 0x1e20),
.driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM }, .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
/* Lynx Point */ /* Lynx Point */
{ PCI_DEVICE(0x8086, 0x8c20), { PCI_DEVICE(0x8086, 0x8c20),
.driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH }, .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
......
...@@ -1693,16 +1693,12 @@ static int hdmi_parse_codec(struct hda_codec *codec) ...@@ -1693,16 +1693,12 @@ static int hdmi_parse_codec(struct hda_codec *codec)
} }
#ifdef CONFIG_PM #ifdef CONFIG_PM
/* We're seeing some problems with unsolicited hot plug events on
* PantherPoint after S3, if this is not enabled */
if (codec->vendor_id == 0x80862806)
codec->bus->power_keep_link_on = 1;
/* /*
* G45/IbexPeak don't support EPSS: the unsolicited pin hot plug event * G45/IbexPeak don't support EPSS: the unsolicited pin hot plug event
* can be lost and presence sense verb will become inaccurate if the * can be lost and presence sense verb will become inaccurate if the
* HDA link is powered off at hot plug or hw initialization time. * HDA link is powered off at hot plug or hw initialization time.
*/ */
else if (!(snd_hda_param_read(codec, codec->afg, AC_PAR_POWER_STATE) & if (!(snd_hda_param_read(codec, codec->afg, AC_PAR_POWER_STATE) &
AC_PWRST_EPSS)) AC_PWRST_EPSS))
codec->bus->power_keep_link_on = 1; codec->bus->power_keep_link_on = 1;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment