public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* When to call cfi_amdstd_suspend() ?
@ 2005-12-02 18:51 Steven Scholz
  2005-12-02 19:04 ` Todd Poynor
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Scholz @ 2005-12-02 18:51 UTC (permalink / raw)
  To: linux-mtd

Hi all,

I implemented my MTD board driver as a platform device with support for
suspend/resume.

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.

Thanks,

Steven

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-02 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-02 18:51 When to call cfi_amdstd_suspend() ? Steven Scholz
2005-12-02 19:04 ` Todd Poynor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox