From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Michael Trimarchi <trimarchi@gandalf.sssup.it>
Cc: Greg KH <greg@kroah.com>,
linux-pm@lists.linux-foundation.org, len.brown@intel.com
Subject: Re: [RFC Add no_suspend attribute V2] Let the driver know if it's in use
Date: Fri, 24 Jul 2009 17:36:30 +0200 [thread overview]
Message-ID: <200907241736.31388.rjw@sisk.pl> (raw)
In-Reply-To: <4A688913.7040000@gandalf.sssup.it>
On Thursday 23 July 2009, Michael Trimarchi wrote:
> Alan Stern wrote:
> > On Thu, 23 Jul 2009, Rafael J. Wysocki wrote:
> >
> >
> >>> I follow the discussion around the new runtime support and I would like
> >>> to know if I can
> >>> add to the new interface the no_suspend flag or maybe now there is a
> >>> better solution.
> >>>
> >> Hmm. Do I remember correctly that the no_suspend flag is for preventing the
> >> system-wide suspend in case some devices are in use?
> >>
> >
> > As I recall, the no_suspend flag was used to mark a few devices which
> > should not be powered down during an otherwise normal system sleep.
> >
> > For example, you might want to suspend the computer while leaving a
> > built-in DVB tuner on because the tuner is attached to an external TV
> > set.
> >
> > Alan Stern
> >
> Is it ok for you if a prepare only the patch the add the flag and let
> the user space
> and the driver to use it?
It seems unrelated to the run-time framework, so I think we can add that flag.
Please post the patch.
Best,
Rafael
prev parent reply other threads:[~2009-07-24 15:36 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-24 17:24 [RFC Add no_suspend attribute V2] Let the driver know if it's in use Michael Trimarchi
2009-04-24 17:31 ` Randy Dunlap
2009-04-24 17:36 ` Michael Trimarchi
2009-04-24 17:55 ` Michael Trimarchi
2009-04-24 22:55 ` Greg KH
2009-04-25 8:21 ` Michael Trimarchi
2009-04-25 9:07 ` Michael Trimarchi
2009-04-25 10:56 ` Rafael J. Wysocki
2009-04-25 12:03 ` Michael Trimarchi
2009-04-25 16:57 ` Alan Stern
2009-04-25 17:11 ` Michael Trimarchi
2009-04-25 18:33 ` Alan Stern
2009-04-30 23:42 ` Michael Trimarchi
2009-05-01 2:27 ` Alan Stern
2009-07-23 14:09 ` Michael Trimarchi
2009-07-23 14:32 ` Rafael J. Wysocki
2009-07-23 14:56 ` Alan Stern
2009-07-23 16:00 ` Michael Trimarchi
2009-07-24 15:36 ` Rafael J. Wysocki [this message]
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=200907241736.31388.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=greg@kroah.com \
--cc=len.brown@intel.com \
--cc=linux-pm@lists.linux-foundation.org \
--cc=trimarchi@gandalf.sssup.it \
/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