From: Danesh Petigara Date: Fri, 8 Jan 2016 00:03:31 +0000 (-0800) Subject: ata: ahci_brcmstb: disable DIPM support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6ca92dd7aff899777a3081c5948409f4bdef7d38;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Florian Fainelli Signed-off-by: Tejun Heo --- 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,