summaryrefslogtreecommitdiff
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorJianzheng Zhou <B38613@freescale.com>2012-07-12 14:55:54 +0800
committerJianzheng Zhou <B38613@freescale.com>2012-07-12 15:11:14 +0800
commit137f8efe2f7884ef91c625f7882871bc92b7a153 (patch)
treeeb5e746a2b18d4aa2065fbb1cecf079743c8293f /include/linux/mmc
parent36e5293ae062c6c66a4a1cbd66350f8d2b135c66 (diff)
ENGR00216870-2:sdio:clock auto gating issue
For sdio device, clock should always keep on for some card. so a private policy was added to exclude sdio case in sdhci_disable_clk. but this policy is too tough. so block sdio's auto gating in some case.For long term, this policy should be move up to host and be optimized. For android,temporary optimize the policy and enable runtime pm for sdio device can fix this bug. Signed-off-by: Jianzheng Zhou <B38613@freescale.com>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h
index a477e2e2093c..6953db5516d8 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -174,6 +174,7 @@ struct sdhci_host {
struct delayed_work clk_worker; /* Clock delayed worker */
unsigned int clk_mgr_en;
unsigned int clk_status;
+ unsigned char power_mode;
struct sdhci_host_next next_data;
unsigned long private[0] ____cacheline_aligned;
};