]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ALSA: hda - Enable runtime PM on Panther Point
authorTakashi Iwai <tiwai@suse.de>
Fri, 22 Nov 2013 11:43:25 +0000 (12:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Nov 2013 12:42:39 +0000 (13:42 +0100)
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 <tiwai@suse.de>
sound/pci/hda/hda_intel.c
sound/pci/hda/patch_hdmi.c

index c6d230193da6214700e23369df0d2355c301012a..dfdb96603636bdfb7162825ca7f9e62757845ef5 100644 (file)
@@ -3978,7 +3978,7 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
          .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM },
        /* Panther Point */
        { 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 */
        { PCI_DEVICE(0x8086, 0x8c20),
          .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
index a6081ed34b88217e9a148253abcfd64fbe4b6515..1773a640e72ebb76ab0643f82f298dc05fa7ef8d 100644 (file)
@@ -1693,16 +1693,12 @@ static int hdmi_parse_codec(struct hda_codec *codec)
        }
 
 #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
         * can be lost and presence sense verb will become inaccurate if the
         * 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))
                codec->bus->power_keep_link_on = 1;
 #endif