summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2011-08-24 13:00:56 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 20:23:23 +0800
commitaf79633fa7c729c552c77d05e32d0f071ee1dbea (patch)
tree2e4e15c26c79a4407622270ee13346659b9400d4 /include/linux
parent6ee31b615667db63dd0a86945463dc366bba2ac3 (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/linux')
-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 eb07153d0451..d73ed4622881 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -163,6 +163,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 */