mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
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:
parent
899ac49afa
commit
a4e97fb237
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user