On Fri, 9 Nov 2012, Lan Tianyu wrote: > Some usb devices can't be resumed correctly after power off. This > patch is to add pm qos flags request to change NO_POWER_OFF and > provide usb_device_allow_power_off() for device drivers to allow or > prohibit usb core to power off the device. If the reason for adding this request is to prevent the device from being powered off, then shouldn't the PM QOS flag be associated with device rather than with the port? In fact, it seems reasonable to have such a flag for both the device and the port. Alan Stern -- 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