usb: gadget: epautoconf: add endpoint capabilities flags verification
authorRobert Baldyga <r.baldyga@samsung.com>
Fri, 31 Jul 2015 14:00:49 +0000 (16:00 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 4 Aug 2015 17:27:11 +0000 (12:27 -0500)
commitb86f33a3a371a4c3aa8dbb2f4125634a4e0d09dc
tree674c1e24491c7ea292eb37a70cadfd29c292e1fc
parent47bef386511517449e2f24a89a41084af53616f8
usb: gadget: epautoconf: add endpoint capabilities flags verification

Introduce endpoint matching mechanism basing on endpoint capabilities
flags. We check if endpoint supports transfer type and direction requested
in ep descriptor. Since we have this new endpoint matching mechanism
there is no need to have old code guessing endpoint capabilities basing
on its name, so we are getting rid of it. Remove also the obsolete comment.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/epautoconf.c
This page took 0.024836 seconds and 5 git commands to generate.