projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
899ac49
)
tegra: SDHCI: disable clock at suspend
author
Todd Poynor
<toddpoynor@google.com>
Fri, 19 Nov 2010 04:24:24 +0000
(20:24 -0800)
committer
Todd Poynor
<toddpoynor@google.com>
Sat, 20 Nov 2010 00:11:04 +0000
(16:11 -0800)
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>
drivers/mmc/host/sdhci-tegra.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-tegra.c
b/drivers/mmc/host/sdhci-tegra.c
index 19f522d3a59f7145bd0c624cb1f7c97baa64c013..2cb479987b8d6a37725db6fb709bf4c07cc25381 100644
(file)
--- 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;
}