Browse Source

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>
Preetham Ramchandra 7 năm trước cách đây
mục cha
commit
01fbf60b0e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/ata/ahci_tegra.c

+ 1 - 1
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,