usb: gadget: net2280: don't set ep_cfg.direction bit
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Sat, 16 May 2015 20:33:33 +0000 (22:33 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 May 2015 15:40:01 +0000 (10:40 -0500)
commitea86507fd2ebcf8bfbaf92db279331c9c600e0d2
tree95fabf82a7e02bbeb3c5c60378a687d7b3d89914
parent3fc0a7c3d3539a4e57b249d1fb5b2ab80c075174
usb: gadget: net2280: don't set ep_cfg.direction bit

USB3380 ep_cfg.direction bit is reserved in enhanced mode. Don't set
it.

Tested-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/net2280.c