public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>,
	pm list <linux-pm@lists.linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Jeff Garzik <jeff@garzik.org>,
	Grant Grundler <grundler@parisc-linux.org>
Subject: Re: [RFC][PATCH] uli526x: Add suspend and resume routines
Date: Wed, 8 Aug 2007 14:09:41 +0200	[thread overview]
Message-ID: <200708081409.42384.rjw@sisk.pl> (raw)
In-Reply-To: <200708081405.00778.rjw@sisk.pl>

On Wednesday, 8 August 2007 14:05, Rafael J. Wysocki wrote:
> On Wednesday, 8 August 2007 01:03, Andrew Morton wrote:
> > On Sun, 5 Aug 2007 21:14:01 +0200
> > "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> > 
> > > +#ifdef CONFIG_PM_SLEEP
> > > +
> > > +/*
> > > + *	Suspend the interface.
> > > + */
> > > +
> > > +static int uli526x_suspend(struct pci_dev *pdev, pm_message_t state)
> > 
> > Since when did suspend and resume methods become dependent upon CONFIG_PM_SLEEP?
> > 
> > We have eight thousand implementations of this, all of which presently
> > use CONFIG_PM.
> 
> Yes, they do, but if CONFIG_PM_SLEEP is not set, they won't be used.

Well, not all of them.  There are some in USB used for runtime power
management and there may be some others like that, but the majority of them
are really only useful for suspend/hibernation.  Like the ones in this patch.

Greetings,
Rafael

  parent reply	other threads:[~2007-08-08 12:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200708052114.01790.rjw@sisk.pl>
2007-08-07 21:40 ` [RFC][PATCH] uli526x: Add suspend and resume routines Jeff Garzik
     [not found] ` <46B8E6D4.30405@garzik.org>
2007-08-07 22:24   ` Rafael J. Wysocki
     [not found]   ` <200708080024.28692.rjw@sisk.pl>
2007-08-07 22:26     ` Jeff Garzik
     [not found]     ` <46B8F19D.6060406@garzik.org>
2007-08-07 22:56       ` [RFC][PATCH] uli526x: Add suspend and resume routines (updated) Rafael J. Wysocki
     [not found]       ` <200708080056.41651.rjw@sisk.pl>
2007-08-09  6:27         ` Grant Grundler
2007-08-14  5:58         ` Jeff Garzik
     [not found]         ` <46C14479.1080206@garzik.org>
2007-08-14 18:09           ` Rafael J. Wysocki
2007-08-31 12:52             ` Jeff Garzik
2007-08-07 23:03 ` [RFC][PATCH] uli526x: Add suspend and resume routines Andrew Morton
     [not found] ` <20070807160357.d6ea9731.akpm@linux-foundation.org>
2007-08-08 12:05   ` Rafael J. Wysocki
     [not found]   ` <200708081405.00778.rjw@sisk.pl>
2007-08-08 12:09     ` Rafael J. Wysocki [this message]
2007-08-05 19:14 Rafael J. Wysocki

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=200708081409.42384.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=akpm@linux-foundation.org \
    --cc=grundler@parisc-linux.org \
    --cc=jeff@garzik.org \
    --cc=kyle@mcmartin.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    /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