summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci_tegra.c
diff options
context:
space:
mode:
authorPreetham Ramchandra <pchandru@nvidia.com>2018-03-12 14:40:36 +0300
committerTejun Heo <tj@kernel.org>2018-03-14 18:24:21 +0300
commit01fbf60b0e6fb9932a26959bbf338b9b5b193592 (patch)
tree40d71c39f8510b2f2425532374e59a3ac0824a4f /drivers/ata/ahci_tegra.c
parent502717ccf7720e785fdc1c9202d1b3930fd08038 (diff)
downloadlinux-01fbf60b0e6fb9932a26959bbf338b9b5b193592.tar.xz
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>
Diffstat (limited to 'drivers/ata/ahci_tegra.c')
-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,