summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPreetham Ramchandra <pchandru@nvidia.com>2018-03-12 12:40:36 +0100
committerTejun Heo <tj@kernel.org>2018-03-14 16:24:21 +0100
commit01fbf60b0e6fb9932a26959bbf338b9b5b193592 (patch)
tree40d71c39f8510b2f2425532374e59a3ac0824a4f
parentata: ahci_tegra: disable devslp for Tegra124 (diff)
downloadlinux-01fbf60b0e6fb9932a26959bbf338b9b5b193592.tar.xz
linux-01fbf60b0e6fb9932a26959bbf338b9b5b193592.zip
ata: ahci_tegra: disable DIPM
Tegra does not support DIPM and it should be disabled. Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--drivers/ata/ahci_tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c
index 620cdd16ef2f..20c1fccbc669 100644
--- a/drivers/ata/ahci_tegra.c
+++ b/drivers/ata/ahci_tegra.c
@@ -444,7 +444,7 @@ static struct ata_port_operations ahci_tegra_port_ops = {
};
static const struct ata_port_info ahci_tegra_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_tegra_port_ops,