summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreetham Chandru R <pchandru@nvidia.com>2016-02-23 11:54:34 +0530
committerWinnie Hsu <whsu@nvidia.com>2016-05-27 17:57:24 -0700
commita7da876159f2b71ad411c31d08030be2e99dd417 (patch)
tree28aae012b91a95539edc2de4b43a9df6cefbf651
parent8b409a3da4069a6c3831e7fa1f847fd86d800353 (diff)
ata: ahci_tegra: disable DIPMtegra-l4t-r21.5
DIPM is not a POR for Tegra AHCI Sata Controller Bug 200087528 Change-Id: I5a742170177c9f57426f3756a8cfafefa88af92b Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/1013776 (cherry picked from commit 7ebd3b1058491ee87686e9e731b79ecd914e00d9) Reviewed-on: http://git-master/r/1031624 Reviewed-by: Bibek Basu <bbasu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
-rw-r--r--drivers/ata/ahci-tegra.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/ahci-tegra.c b/drivers/ata/ahci-tegra.c
index a80a8b1fc825..791679c2a419 100644
--- a/drivers/ata/ahci-tegra.c
+++ b/drivers/ata/ahci-tegra.c
@@ -2525,6 +2525,9 @@ static int tegra_ahci_init_one(struct platform_device *pdev)
if (hpriv->cap & HOST_CAP_PMP)
pi.flags |= ATA_FLAG_PMP;
+ /* Disable DIPM */
+ pi.flags |= ATA_FLAG_NO_DIPM;
+
/*
* CAP.NP sometimes indicate the index of the last enabled
* port, at other times, that of the last possible port, so