mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* dpm_runtime_suspend and _resume()
@ 2005-07-30 14:25 Dominik Brodowski
  2005-07-30 20:06 ` Pavel Machek
  2005-08-01 23:48 ` Patrick Mochel
  0 siblings, 2 replies; 3+ messages in thread
From: Dominik Brodowski @ 2005-07-30 14:25 UTC (permalink / raw)
  To: pavel, mochel; +Cc: linux-kernel

dpm_runtime_suspend and _resume() would be quite useful for some PCMCIA
tasks. However, they are only exported in drivers/base/power/power.h. Any
objection to moving it to include/linux/pm.h ? Any plans to break the
functionality these functions provide?

Thanks,
	Dominik

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

* Re: dpm_runtime_suspend and _resume()
  2005-07-30 14:25 dpm_runtime_suspend and _resume() Dominik Brodowski
@ 2005-07-30 20:06 ` Pavel Machek
  2005-08-01 23:48 ` Patrick Mochel
  1 sibling, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2005-07-30 20:06 UTC (permalink / raw)
  To: Dominik Brodowski, mochel, linux-kernel

Hi!

> dpm_runtime_suspend and _resume() would be quite useful for some PCMCIA
> tasks. However, they are only exported in drivers/base/power/power.h. Any
> objection to moving it to include/linux/pm.h ? Any plans to break the
> functionality these functions provide?

Well, given that runtime suspend functions are parts of unfinished
runtime-suspend infrastructure... what do you want to use them for?

								Pavel
-- 
if you have sharp zaurus hardware you don't need... you know my address

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

* Re: dpm_runtime_suspend and _resume()
  2005-07-30 14:25 dpm_runtime_suspend and _resume() Dominik Brodowski
  2005-07-30 20:06 ` Pavel Machek
@ 2005-08-01 23:48 ` Patrick Mochel
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick Mochel @ 2005-08-01 23:48 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: pavel, linux-kernel


On Sat, 30 Jul 2005, Dominik Brodowski wrote:

> dpm_runtime_suspend and _resume() would be quite useful for some PCMCIA
> tasks. However, they are only exported in drivers/base/power/power.h. Any
> objection to moving it to include/linux/pm.h ? Any plans to break the
> functionality these functions provide?

Break them anymore than they currently are?

I wouldn't recommend using those functions. We're in the process of
redeveloping the Runtime PM infrastructure and would hate to break users
of existing poorly-designed infrastructure in the process.

I'm curious what your usage model would be. After a certain amount of
time of inactivity, I suspect that you want to power down a PCMCIA slot,
right? Do you already have patches that do that? Is there any problem with
calling the necessary functions directly?

Thanks,


	Pat

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

end of thread, other threads:[~2005-08-01 23:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-30 14:25 dpm_runtime_suspend and _resume() Dominik Brodowski
2005-07-30 20:06 ` Pavel Machek
2005-08-01 23:48 ` Patrick Mochel

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

all inboxes | Powered by JetHome®