public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oliver@neukum.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>,
	Alan Stern <stern@rowland.harvard.edu>,
	linux-pm@lists.linux-foundation.org
Subject: suggestion on resumption
Date: Thu, 26 Nov 2009 22:59:59 +0100	[thread overview]
Message-ID: <200911262259.59152.oliver@neukum.org> (raw)

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

             reply	other threads:[~2009-11-26 21:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26 21:59 Oliver Neukum [this message]
2009-11-27  0:47 ` suggestion on resumption 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200911262259.59152.oliver@neukum.org \
    --to=oliver@neukum.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=rjw@sisk.pl \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox