Thread (1 message) 1 message, 1 author, 2011-06-10

Re: calling runtime PM from system PM methods

From: Mark Brown <hidden>
Date: 2011-06-10 17:31:55

On Fri, Jun 10, 2011 at 01:17:56PM -0400, Alan Stern wrote:
On Fri, 10 Jun 2011, Mark Brown wrote:
quoted
ignores that), it's noticably harder to reason about what's going on
when I go outside there and when I think about what I'm doing it always
feels like it should be possible to factor it out of the drivers.
What would make the common cases easier?
I think from an interface point of view it's something like
UNIVERSAL_DEV_PM_OPS() and friends, probably with some additional ops
that can do the glue bits like enabling wakeup and quiescing activity.
I'd need to think harder about what exactly that'd look like - for my
cases the fundamental thing I want to say is that there's one suspend
routine and one resume routine and I'd like some framework code to work
out when they're called.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help