Am Montag, 24. August 2009 19:19:51 schrieb Sarah Sharp: > > At that point your best course is probably to print an error message in > > the system log and proceed in a degraded mode (kind of like leaking > > memory). When the hardware's bad there's not much else to do. > > > > In fact, can't you use the un-freed streams to satisfy later allocation > > requests? > > Sure, as long as the driver asks for the same number of streams (or less > than the previous request) and passes the same endpoints. I'll have to > modify the streams allocation code to return success in that case, > rather than failing early because streams are already enabled. I'm not > sure if I want to handle the case where some endpoints have streams > enabled, and some don't. It makes the code pretty complicated. That seems like overkill for a corner case. But for the sake of correctness, the manual reprobe of a device via sysfs/usbfs should return an error in this case. Regards Oliver -- 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