OSDN Git Service

usb: gadget: autoconf: net2280: match hardware and usb ep address
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Sat, 16 May 2015 20:33:37 +0000 (22:33 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 May 2015 15:40:21 +0000 (10:40 -0500)
commite9ab4d0ab8f5b1159558b9ab236e408d50962a00
tree5a0088879c6b449ed1230ece930126699cf4c33b
parentc65c4f052bc3b67989bf54914798513685c54988
usb: gadget: autoconf: net2280: match hardware and usb ep address

USB3380 GPEP can be used in IN and OUT directions however, both
directions should use same endpoint address. Fulfil this requirement
by mapping usb endpoint to hardware endpoint with the same address.

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/epautoconf.c