Skip to content

Commit b1920c2

Browse files
committed
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: Takashi Iwai <[email protected]>
1 parent a40e0a8 commit b1920c2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

sound/pci/hda/hda_intel.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3978,7 +3978,7 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
39783978
.driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM },
39793979
/* Panther Point */
39803980
{ PCI_DEVICE(0x8086, 0x1e20),
3981-
.driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM },
3981+
.driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
39823982
/* Lynx Point */
39833983
{ PCI_DEVICE(0x8086, 0x8c20),
39843984
.driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },

sound/pci/hda/patch_hdmi.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -1693,16 +1693,12 @@ static int hdmi_parse_codec(struct hda_codec *codec)
16931693
}
16941694

16951695
#ifdef CONFIG_PM
1696-
/* We're seeing some problems with unsolicited hot plug events on
1697-
* PantherPoint after S3, if this is not enabled */
1698-
if (codec->vendor_id == 0x80862806)
1699-
codec->bus->power_keep_link_on = 1;
17001696
/*
17011697
* G45/IbexPeak don't support EPSS: the unsolicited pin hot plug event
17021698
* can be lost and presence sense verb will become inaccurate if the
17031699
* HDA link is powered off at hot plug or hw initialization time.
17041700
*/
1705-
else if (!(snd_hda_param_read(codec, codec->afg, AC_PAR_POWER_STATE) &
1701+
if (!(snd_hda_param_read(codec, codec->afg, AC_PAR_POWER_STATE) &
17061702
AC_PWRST_EPSS))
17071703
codec->bus->power_keep_link_on = 1;
17081704
#endif

0 commit comments

Comments
 (0)