Re: runtime PM: common hooks for static and runtime PM

Mark Brown
2010-02-24T22:32:20Z

On 24 Feb 2010, at 18:56, Alan Stern <stern@rowland.harvard.edu> wrote:

> On Wed, 24 Feb 2010, Mark Brown wrote:
>
>> On Mon, Feb 08, 2010 at 09:54:07AM -0500, Alan Stern wrote:
>>> On Sat, 6 Feb 2010, Alan Stern wrote:
>>
>>>> I'll give it a try and we'll see how it turns out...
>>
>>> And here it is. You can see that the patch isn't ideal.
>>
>>> Anyway, it should do what you want -- I haven't tested it.
>>
>> It's taken a little while to test (and to be frank my testing is
>> paper
>> thin) but it looks like this does what I'm looking for - thanks!
>
> But should that patch be submitted for inclusion in the kernel,
> warts and all?

My feeling is that it solves a real problem so yes and if it turns out
there are issues we can always bug fix it later - if it's not merged
then cross tree issues would mean that there'd be a substantial lag
before it could be used in drivers.