usb: gadget: add endpoint capabilities flags
authorRobert Baldyga <r.baldyga@samsung.com>
Fri, 31 Jul 2015 14:00:14 +0000 (16:00 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 4 Aug 2015 17:24:46 +0000 (12:24 -0500)
commit734b5a2addd333829a6d647ee14a3609c7a87c44
tree9d8cd229eba94903b59f2f3397020bef6cd48a23
parentcc476b42a39d5a66d94f46cade972dcb8ee278df
usb: gadget: add endpoint capabilities flags

Introduce struct usb_ep_caps which contains information about capabilities
of usb endpoints - supported transfer types and directions. This structure
should be filled by UDC driver for each of its endpoints, and will be
used in epautoconf in new ep matching mechanism which will replace ugly
guessing of endpoint capabilities basing on its name.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
include/linux/usb/gadget.h