On Tue, 17 Dec 2013, Kishon Vijay Abraham I wrote: > Hi, > > On Friday 13 December 2013 12:01 AM, Felipe Balbi wrote: > > In case pm_runtime_get*() fails, it still > > increments pm usage counter, so we *must* > > make sure to pm_runtime_put() even in those > > cases. > > But shouldn't the fix be in pm_runtime_get()? No, it should not. pm_runtime_get() behaves exactly as intended. See Documentation/power/runtime_pm.txt. 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