Re: [PATCH update] PM: Introduce core framework for run-time PM of I/O devices (rev. 12)

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

 



On Thu, 6 Aug 2009, Rafael J. Wysocki wrote:

> > If we defer a resume request while a suspend is in progress, then when
> > the suspend finishes should the resume be carried out immediately
> > rather than queued?  I don't see any reason why not.
> 
> Well, it's not very clear what to return to the caller in such a case.  I guess
> we can return -EAGAIN.

I would have said to return 0, just as if the resume had been queued.  
But it doesn't matter very much.

Alan Stern

_______________________________________________
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