aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-mci.h
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:09:33 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:33 +0000
commit695aab30a59b56143489a17b6b4268b3a9548148 (patch)
treee4ec6650ec0223d20cb28cb4fc56abeb7d755f91 /drivers/mfd/glamo/glamo-mci.h
parenta496c1bd1ddae88a9a78d6836c59a848ca9c7fa9 (diff)
fix-glamo-mci-defeat-ops-during-suspend.patch
We need to be able to use the config option CONFIG_MMC_UNSAFE_RESUME that allows the rootfs to live on SD. But when we use this, it tries to send a reset command to the SD card during suspend -- and unfortunately many things like Power have suspended by then. This patch again rejects IO on the MMC device during suspend of the MMC device, and it gives the result the rootfs on SD card works okay. Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/mfd/glamo/glamo-mci.h')
-rw-r--r--drivers/mfd/glamo/glamo-mci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/glamo/glamo-mci.h b/drivers/mfd/glamo/glamo-mci.h
index 40c3e24fa13..55852e7ed46 100644
--- a/drivers/mfd/glamo/glamo-mci.h
+++ b/drivers/mfd/glamo/glamo-mci.h
@@ -34,6 +34,8 @@ struct glamo_mci_host {
int dma;
int data_max_size;
+ int suspending;
+
int power_mode_current;
unsigned int vdd_current;