ata: ahci_tegra: disable devslp
Preetham Chandru R [Fri, 19 Aug 2016 06:44:25 +0000 (11:44 +0530)]
Devslp is not POR for T124 anymore.

Bug 200231146

Change-Id: Ia5380a17d545d3082a31c5b16b6946fa0e7ce4d5
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/1207452
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

drivers/ata/ahci-tegra.c

index 791679c..3c93eb8 100644 (file)
@@ -1081,12 +1081,10 @@ static int tegra_ahci_controller_init(struct tegra_ahci_host_priv *tegra_hpriv,
        val &= ~NVA2SATA_OOB_ON_POR_MASK;
        misc_writel(val, SATA_AUX_MISC_CNTL_1_REG);
 
-       if (tegra_hpriv->sata_connector != MINI_SATA) {
-               /* Disable DEVSLP Feature */
-               val = misc_readl(SATA_AUX_MISC_CNTL_1_REG);
-               val &= ~SDS_SUPPORT;
-               misc_writel(val, SATA_AUX_MISC_CNTL_1_REG);
-       }
+       /* Disable DEVSLP Feature */
+       val = misc_readl(SATA_AUX_MISC_CNTL_1_REG);
+       val &= ~SDS_SUPPORT;
+       misc_writel(val, SATA_AUX_MISC_CNTL_1_REG);
 
        val = sata_readl(SATA_CONFIGURATION_0_OFFSET);
        val |= EN_FPCI;