ata: ahci_tegra: disable DIPM l4t/l4t-r21.5 tegra-l4t-r21.5
Preetham Chandru R [Tue, 23 Feb 2016 06:24:34 +0000 (11:24 +0530)]
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>

drivers/ata/ahci-tegra.c

index a80a8b1..791679c 100644 (file)
@@ -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