public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* suggestion on resumption
@ 2009-11-26 21:59 Oliver Neukum
  2009-11-27  0:47 ` Rafael J. Wysocki
  0 siblings, 1 reply; 6+ messages in thread
From: Oliver Neukum @ 2009-11-26 21:59 UTC (permalink / raw)
  To: Rafael J. Wysocki, Alan Stern, linux-pm

Hi,

using the USB autosuspend framework I've often faced characteristic
problems coding resume() methods. This has led me to an idea. Resume()
would be much easier to code if I knew about the reason of resumption,
especially about the code path resume() is called in. I wonder whether
we could introduce a message argument to resume and give it a few
bits from the caller.

	Regards
		Oliver

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

end of thread, other threads:[~2009-11-28 16:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-26 21:59 suggestion on resumption Oliver Neukum
2009-11-27  0:47 ` Rafael J. Wysocki
2009-11-27  8:18   ` Oliver Neukum
2009-11-27 17:43     ` Alan Stern
2009-11-27 22:37       ` Oliver Neukum
2009-11-28 16:22         ` Alan Stern

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