summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2011-08-24 13:00:56 +0800
committerTony Lin <tony.lin@freescale.com>2011-08-26 15:49:08 +0800
commit9904463d0690bab44940c2590d4a161a186f01d1 (patch)
tree4fd45cb4770c296841abfaf3763b63742113238e /include
parent8981ab5203e20368d8aeffe70e0e866159c35aa1 (diff)
ENGR00153895 [MX6Q]SD: SD3 clock is not off, when no SD card is in use
the patch brings in clock management, not only card removal will gate off corresponding SD clock, but also a timeout after last request will gate off the SD clock. Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/sdhci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h
index 0c9a039d0cf9..f41316c3d586 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -149,6 +149,9 @@ struct sdhci_host {
unsigned int tuning_max;
unsigned int tuning_step;
+ struct delayed_work clk_worker; /* Clock delayed worker */
+ unsigned int clk_mgr_en;
+ unsigned int clk_status;
unsigned long private[0] ____cacheline_aligned;
};
#endif /* __SDHCI_H */