mtd: OneNAND: OMAP2/3: prevent regulator sleeping while OneNAND is in use
authorAdrian Hunter <adrian.hunter@nokia.com>
Fri, 19 Feb 2010 14:39:53 +0000 (15:39 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 6 Jan 2011 15:34:34 +0000 (15:34 +0000)
commit9ac4e613a88d7f6a7a9651d863e9c8f63b582718
treec8ca917466c14e8c73ea5518a9da1cae5815817d
parentcf24dc85ff29a41abd8e73730e5feb22b2666bd3
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>
arch/arm/plat-omap/include/plat/onenand.h
drivers/mtd/onenand/omap2.c