Oliver Neukum <oliver@xxxxxxxxxx> writes: > Am Dienstag, 24. Januar 2012, 00:52:00 schrieb Bjørn Mork: >> Search for the first interrupt endpoint and use that regardless of what >> other endpoints might be present on the interface > > Are you sure that is wise? It seems to me that we are building > our own trap that will snap shut as soon as someone builds > a device whose second interrupt endpoint we should take. > Why not pass the endpoint as a parameter? Not sure, but I haven't seen anything like that (which of course isn't much of an argument). Anyway, can't we fix that then, or does this kernel internal API have to be stable? Not that it really matters to me. If you want the parameter, then let's do the parameter. Thinking about it, I guess it makes more sense leaving all descriptor parsing to the caller. Bjørn -- 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