From a7da876159f2b71ad411c31d08030be2e99dd417 Mon Sep 17 00:00:00 2001 From: Preetham Chandru R Date: Tue, 23 Feb 2016 11:54:34 +0530 Subject: ata: ahci_tegra: disable DIPM DIPM is not a POR for Tegra AHCI Sata Controller Bug 200087528 Change-Id: I5a742170177c9f57426f3756a8cfafefa88af92b Signed-off-by: Preetham Chandru R Reviewed-on: http://git-master/r/1013776 (cherry picked from commit 7ebd3b1058491ee87686e9e731b79ecd914e00d9) Reviewed-on: http://git-master/r/1031624 Reviewed-by: Bibek Basu GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu --- drivers/ata/ahci-tegra.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3