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. :-)
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 -- 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