[MTD] NAND: Add suspend/resume functionality
commit962034f43937d02a1c18e802a6641aed0a266ac5
authorVitaly Wool <vwool@ru.mvista.com>
Thu, 15 Sep 2005 13:58:53 +0000 (15 14:58 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 20:43:45 +0000 (6 21:43 +0100)
treed1e1f2fe4f45614f7714bc117fc55c4d5d9ee982
parent9c517e6c801aab0f8de8f9c67bfc16ea13d72971
[MTD] NAND: Add suspend/resume functionality

The changes introduced allow to suspend/resume NAND flash.
A new state (FL_PM_SUSPENDED) is introduced, as well as
routines for mtd->suspend and mtd->resume to put the flash in
suspended state from software pov.

Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h