diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2010-02-19 15:39:53 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-01-06 15:34:34 +0000 |
commit | 9ac4e613a88d7f6a7a9651d863e9c8f63b582718 (patch) | |
tree | c8ca917466c14e8c73ea5518a9da1cae5815817d /arch/arm/plat-omap/include/plat/onenand.h | |
parent | cf24dc85ff29a41abd8e73730e5feb22b2666bd3 (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.h | 1 |
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 |