Re: dpm_runtime_suspend and _resume()
From: Patrick Mochel
Date: Mon Aug 01 2005 - 18:50:12 EST
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/