mmc: host: sdhci: tegra: delayed clk gate enable
Bitan Biswas [Mon, 25 Nov 2013 12:46:03 +0000 (17:46 +0530)]
bug 1372006

Change-Id: I0c51aedafbcb1502df6cfd51d841d64b42e71f36
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/335082
(cherry picked from commit 4b0841dc1c4d1e32b412348c184591c015576e5f)
Reviewed-on: http://git-master/r/339099
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

drivers/mmc/host/sdhci-tegra.c

index 8055817..8c38b69 100644 (file)
@@ -2811,6 +2811,9 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev)
 
        host = sdhci_pltfm_init(pdev, soc_data->pdata);
 
+       /* delayed clock gate quirk in sdhci_host used */
+       host->quirks2 |= SDHCI_QUIRK2_DELAYED_CLK_GATE;
+
        if (IS_ERR(host))
                return PTR_ERR(host);