On Tue, 1 Dec 2015, Vladis Dronov wrote: > Hello, Alan, > > Thank you for the explanations and I'm sorry for my terminology > misunderstanding, I got the point now, endpoint 0 != endpoint[0]. That's okay; it's an understandable mistake. > > My advice is to fix aiptek's probe routine. It should check that > > intf->altsetting[0].desc.bNumEndpoints > 0 before trying to accessing > > the endpoint array. > > Thank you, yes, the patch proposed does something quite alike. You're welcome. Glad I could help. Alan Stern -- 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