Re: [PATCH v3 9/9] usb: add usb_device_allow_power_off() and usb_device_prevent_power_off() function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013年01月06日 23:16, Sergei Shtylyov wrote:
> Hello.
> 
> On 06-01-2013 12:29, Lan Tianyu wrote:
> 
>> Some usb devices can't be resumed correctly after power off. This
>> patch is to add usb_device_allow_power_off() and
>> usb_device_prevent_power_off()
>> for device's driver to allow or prohibit device to be power off the
>> device. Call
>                                  
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    This makes little sense and is a little tautological. :-)
Hi Sergei:
	Thanks for your review. I will delete this and resend.
> 
>> pm_runtime_get_sync(portdev) to increase port's usage count and then
>> port will not
>> be suspended. The device will not be power off.
> 
>    s/power/powered/. Same in the other patches.
> 
>> Signed-off-by: Lan Tianyu <tianyu.lan@xxxxxxxxx>
> 
> WBR, Sergei
> 


-- 
Best regards
Tianyu Lan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux