sdhci: tegra: disable HS200 mode
naveenk [Mon, 27 Aug 2012 07:42:56 +0000 (12:42 +0530)]
Diasble HS200 mode support for T20 and T30 devices

Change-Id: I6c48e366a15cdecd3d29a2a510b78e4bfd75ef48
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/127427
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

drivers/mmc/host/sdhci-tegra.c

index e334453..09674ea 100644 (file)
@@ -1319,9 +1319,6 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev)
        host->mmc->caps2 |= MMC_CAP2_BKOPS;
 #endif
 
-       /* enable HS200 capable */
-       host->mmc->caps2 |= MMC_CAP2_HS200;
-
        /* enable packed command support*/
        host->mmc->caps2 |= MMC_CAP2_PACKED_CMD;
 
@@ -1335,6 +1332,8 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev)
 #else
        tegra_host->hw_ops = &tegra_11x_sdhci_ops;
        tegra_sdhost_std_freq = TEGRA3_SDHOST_STD_FREQ;
+       /* enable HS200 capable */
+       host->mmc->caps2 |= MMC_CAP2_HS200;
 #endif
        rc = sdhci_add_host(host);
        if (rc)