commit | c65c4f052bc3b67989bf54914798513685c54988 | [log] [tgz] |
---|---|---|
author | Mian Yousaf Kaukab <yousaf.kaukab@intel.com> | Sat May 16 22:33:36 2015 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Tue May 26 10:40:16 2015 -0500 |
tree | caa96a137633bb213c7c5a30d51181557a9ae25d | |
parent | a09e23f53e2c14a65a3b14a00060fea163081e1f [diff] |
usb: gadget: net2280: fix use of GPEP in both directions USB3380 enhanced mode allows GPEP to be used in both IN and OUT directions. However, IN and OUT endpoints must use same USB endpoint address (bEndpointAddress). Fix this by setting the ep_cfg.ep_number during initialization and keep it in net2280_enable() 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>