tegra: SDHCI: disable clock at suspend

Ensure sdmmc<n> 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 <toddpoynor@google.com>
This commit is contained in:
Todd Poynor 2010-11-18 20:24:24 -08:00
parent 899ac49afa
commit a4e97fb237

View File

@ -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;
}