usb: gadget: net2280: use ep_autoconfig compatible names in advance mode
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Mon, 2 Feb 2015 09:55:23 +0000 (10:55 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:30 +0000 (15:33 -0500)
commita285f40d80d440853ac908017d6d949ae2a7f88e
treea20f5947a227600112031aed0bce29827427f5b9
parent34754dec8ab83799a0a37f2a7ada8ce1e53d174b
usb: gadget: net2280: use ep_autoconfig compatible names in advance mode

Each struct usb_ep added for net2280 can be used in either direction.
Whereas, each struct usb_ep for usb3380 has fixed direction. Use
ep_autoconf compatible names so that endpoint with correct direction
can be selected.

Name sequence is due to the logic in usb_reinit_338x() in ne[] and
ep_reg_addr[].

Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/net2280.c