]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/ata/ahci_platform.c
libata: reimplement link power management
[mirror_ubuntu-zesty-kernel.git] / drivers / ata / ahci_platform.c
index 84b643270e7af5c49d8a73db78f6e6230ceabf7b..6fef1fa75c549ea3a442f617693882313c826844 100644 (file)
@@ -129,9 +129,6 @@ static int __init ahci_probe(struct platform_device *pdev)
                ata_port_desc(ap, "mmio %pR", mem);
                ata_port_desc(ap, "port 0x%x", 0x100 + ap->port_no * 0x80);
 
-               /* set initial link pm policy */
-               ap->pm_policy = NOT_AVAILABLE;
-
                /* set enclosure management message type */
                if (ap->flags & ATA_FLAG_EM)
                        ap->em_message_type = hpriv->em_msg_type;