Re: [PATCH 1/2] PM / Runtime: Add sysfs switch for disabling devicerun-time PM (rev. 2)

From: Jesse Barnes
Date: Sun Jan 24 2010 - 10:56:33 EST




"Rafael J. Wysocki" <rjw@xxxxxxx> wrote:

>On Saturday 23 January 2010, Alan Stern wrote:
>> On Sat, 23 Jan 2010, Rafael J. Wysocki wrote:
>>
>> > Hmm, OK.
>> >
>> > Of course, if the driver decides to leave disable_depth > 0, the user still
>> > won't be able to do anything about that, but if I understand correctly, you
>> > want drivers to have the option to use pm_runtime_forbid() initially, right
>> > after pm_runtime_enable(), so that the user space can turn the runtime PM
>> > on if desired via sysfs.
>> >
>> > That makes sense. I have a usage case for that myself. :-)
>> >
>> > Updated patch is appended.
>>
>> It looks good.
>>
>> Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
>
>Thanks!
>
>Rafael
>
èº{.nÇ+‰·Ÿ®‰­†+%ŠËlzwm…ébëæìr¸›zX§»®w¥Š{ayºÊÚë,j­¢f£¢·hš‹àz¹®w¥¢¸ ¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝj"ú!¶iO•æ¬z·švØ^¶m§ÿðà nÆàþY&—