summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2011-08-24 13:00:56 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:15:38 +0800
commitd96f641403d66f1dc57a581fbc57f6421a50e52b (patch)
tree44aeab2bac55e7b49bfcc2bcfae2b773d011fb39 /include
parentb1f4249e21a6f7696ce2a37ebb7fa4e52158611b (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 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 */