On Wed, Oct 12, 2011 at 11:28:06AM -0400, Alan Stern wrote: > Well, if the usage counter is 0 then you wouldn't want to call > usb_put_interface_async(). On the other hand, if the usage counter is > 0 then by definition the device isn't in use, so you shouldn't need to > fail an autosuspend request -- not unless it races with an I/O event. Yeah. Plausibly the model we have in hid is wrong at the moment - rather than set flags that block suspend, it might make more sense to take references. It'd complicate things a little, in that we'd have to take more care in terms of keeping track of the state. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html