usb: dwc3: gadget: fix endpoint renaming
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 16 Mar 2016 12:01:37 +0000 (14:01 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 29 Mar 2016 06:30:31 +0000 (09:30 +0300)
commite901aa159dac9988c9961c31c01730effe8f5c22
tree94252f52246c7a87807b518702b967ccee711dc2
parentad14d4e0308afda06a60036020a15025571604af
usb: dwc3: gadget: fix endpoint renaming

We were exitting the function before actually
renaming anything. While at that, also always leave
control endpoint un-renamed.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c