]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ata: ahci_tegra: disable DIPM origin/l4t/l4t-r21.5 tegra-l4t-r21.5
authorPreetham Chandru R <pchandru@nvidia.com>
Tue, 23 Feb 2016 06:24:34 +0000 (11:54 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Sat, 28 May 2016 00:57:24 +0000 (17:57 -0700)
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 a80a8b1fc82530f101ff0239219260521c3e8854..791679c2a419d248b980e79c55795a3fb11f775e 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