mmc: host: Enable packed command for eMMC4.5
Naveen Kumar Arepalli [Fri, 22 Feb 2013 16:10:54 +0000 (21:10 +0530)]
Enable  packed command support for eMMC4.5 devices

Bug 1242730

Change-Id: I6c68c5477cd20b49230ac04f17351de8ff4a3b1d
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/203327
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

drivers/mmc/host/sdhci-tegra.c

index 06cecc5..91d1432 100644 (file)
@@ -2061,6 +2061,7 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev)
        host->mmc->caps2 |= MMC_CAP2_HS200;
        host->mmc->caps2 |= MMC_CAP2_CACHE_CTRL;
        host->mmc->caps |= MMC_CAP_CMD23;
+       host->mmc->caps2 |= MMC_CAP2_PACKED_CMD;
 #endif
 
        if (plat->nominal_vcore_uV)