On Tue, Sep 06, 2011 at 09:07:20PM -0500, Jim Wylder wrote: > A return value of -EINPROGRESS from pm_runtime_get indicates that > the device is already resuming due to a previous call. Internally, > usb_autopm_get_interface_async doesn't treat this as an error and > increments the usage count, but passes the error status along > to the caller. The logical assumption of the caller is that > any negative return value reflects the device not resuming > and the pm_usage_cnt not being incremented. Since the usage count > is being incremented and the device is resuming, return success (0) > instead. > > Signed-off-by: James Wylder <james.wylder@xxxxxxxxxxxx> Is this something that is causing problems for some devices? Should it go to older stable kernels as well? thanks, greg k-h -- 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