summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorDanesh Petigara <dpetigara@broadcom.com>2016-01-07 16:03:31 -0800
committerTejun Heo <tj@kernel.org>2016-01-08 11:29:38 -0500
commit6ca92dd7aff899777a3081c5948409f4bdef7d38 (patch)
tree49b72d27b2c813dbb48490fb0126370193b1e186 /drivers/ata
parent6863caaf15fce962db0387e852b26d9fbf206cfe (diff)
downloadlinux-6ca92dd7aff899777a3081c5948409f4bdef7d38.tar.bz2
ata: ahci_brcmstb: disable DIPM support
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/ahci_brcmstb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_brcmstb.c b/drivers/ata/ahci_brcmstb.c
index 719bed53cdea..f61cbe30786f 100644
--- a/drivers/ata/ahci_brcmstb.c
+++ b/drivers/ata/ahci_brcmstb.c
@@ -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,