]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ata: ahci_brcmstb: disable DIPM support
authorDanesh Petigara <dpetigara@broadcom.com>
Fri, 8 Jan 2016 00:03:31 +0000 (16:03 -0800)
committerTejun Heo <tj@kernel.org>
Fri, 8 Jan 2016 16:29:38 +0000 (11:29 -0500)
The Broadcom STB SATA host controller does not support device
initiated power management. Disable support for this feature
so the driver never sends SETFEATURES commands to the device
to enable/disable DIPM.

Signed-off-by: Danesh Petigara <dpetigara@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_brcmstb.c

index 719bed53cdeab6ed118db2efa45a43400e78aaa0..f61cbe30786f38810e1b6148aa0536979904656c 100644 (file)
@@ -84,7 +84,7 @@ struct brcm_ahci_priv {
 };
 
 static const struct ata_port_info ahci_brcm_port_info = {
-       .flags          = AHCI_FLAG_COMMON,
+       .flags          = AHCI_FLAG_COMMON | ATA_FLAG_NO_DIPM,
        .pio_mask       = ATA_PIO4,
        .udma_mask      = ATA_UDMA6,
        .port_ops       = &ahci_platform_ops,