summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/onenand.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@nokia.com>2010-02-19 15:39:53 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-01-06 15:34:34 +0000
commit9ac4e613a88d7f6a7a9651d863e9c8f63b582718 (patch)
treec8ca917466c14e8c73ea5518a9da1cae5815817d /arch/arm/plat-omap/include/plat/onenand.h
parentcf24dc85ff29a41abd8e73730e5feb22b2666bd3 (diff)
mtd: OneNAND: OMAP2/3: prevent regulator sleeping while OneNAND is in use
Prevent OneNAND's voltage regulator from going to sleep while OneNAND is in use, by explicitly enabling and disabling the regulator as appropriate. Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/onenand.h')
-rw-r--r--arch/arm/plat-omap/include/plat/onenand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/onenand.h b/arch/arm/plat-omap/include/plat/onenand.h
index 72f433d7d82..affe87e9ece 100644
--- a/arch/arm/plat-omap/include/plat/onenand.h
+++ b/arch/arm/plat-omap/include/plat/onenand.h
@@ -23,6 +23,7 @@ struct omap_onenand_platform_data {
int (*onenand_setup)(void __iomem *, int freq);
int dma_channel;
u8 flags;
+ u8 regulator_can_sleep;
};
#define ONENAND_MAX_PARTITIONS 8