Re: [PATCH] PM: export suspend_set_ops, suspend_valid_only_mem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, May 30, 2011, Jean Pihet wrote:
> Rafael,

Hi,

> On Sat, May 28, 2011 at 11:01 AM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> > On Saturday, May 28, 2011, Kevin Hilman wrote:
> >> Some platforms wish to implement their PM core suspend code as
> >> modules.  To do so, these functions need to be exported to modules.
> >
> > Hmm.  What happens if the module is not loaded and the user attempts to
> > suspend?
> In that case suspend_ops is NULL and suspending has no effect
> (pm_suspend returns -ENODEV).
> Note that this also happens after the module unload.
> 
> Is that the expected behavior?

Yes, kind of, thanks.

Take care,
Rafael
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux