power management routines for NAND driver
Vitaly Wool
vwool at ru.mvista.com
Thu Aug 11 16:49:33 EDT 2005
Thomas Gleixner wrote:
>On Thu, 2005-08-11 at 13:23 -0700, Todd Poynor wrote:
>
>
>
>>Yes, the pm_send etc. APM-style calls are deprecated. The Linux Driver
>>Model PM hooks (incl. struct device_driver suspend/resume callbacks) are
>>the way to do it now. I floated a patch for another board in thread
>>"MTD PM Resume" in July that does approximately what you're talking
>>about, although calling existing Intel/Sharp CFI NOR flash routines. If
>>there's no objections to that style of PM support then I'll check it in.
>>
>>
>
>I removed the pm_oldstyle stuff in mtdcore.c anyway.
>
>Look at the SA1100 driver as reference. Thats the way to go.
>
>tglx
>
>
>
That will require some extensions to nand_base.c. I'm planning to
provide the corresponding patch shortly, if you don't mind.
Best regards,
Vitaly
More information about the linux-mtd
mailing list