From a4e97fb2370ee832e0e9836fc46b3645056a41cf Mon Sep 17 00:00:00 2001 From: Todd Poynor Date: Thu, 18 Nov 2010 20:24:24 -0800 Subject: [PATCH] tegra: SDHCI: disable clock at suspend Ensure sdmmc clock is disabled at suspend, and that the subsequent resume will perform clock enable processing, which is required if LP0 suspend is in effect. Change-Id: Ia98698f13cc557040e5fdbc523a97effb63ac63b Signed-off-by: Todd Poynor --- drivers/mmc/host/sdhci-tegra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 19f522d3a59f..2cb479987b8d 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -206,6 +206,7 @@ static int tegra_sdhci_suspend(struct platform_device *pdev, pm_message_t state) if (ret) pr_err("%s: failed, error = %d\n", __func__, ret); + tegra_sdhci_enable_clock(host, 0); return ret; } -- 2.34.1