When to call cfi_amdstd_suspend() ?
steven.scholz at imc-berlin.de
Fri Dec 2 13:51:57 EST 2005
I implemented my MTD board driver as a platform device with support for
Upon suspend-to-ram its ->suspend() funktion is called three times for
levels SUSPEND_DISABLE, SUSPEND_SAVE_STATE and SUSPEND_POWER_DOWN.
In which level should I call the MTD suspend function (i.e.
cfi_amdstd_suspend() in my case) ?
What happens if I called it in every level as it is done in pxa2xx-flash.c?
Similar situation in the resume path.
More information about the linux-mtd