usb: dwc2: gadget: Remove unnecessary line
authorVardan Mikayelyan <mvardan@synopsys.com>
Thu, 26 May 2016 01:06:55 +0000 (18:06 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 21 Jun 2016 07:48:31 +0000 (10:48 +0300)
Removed "ctrl |= DXEPCTL_USBACTEP" from
dwc2_hsotg_start_req() function because this
step is done in dwc2_hsotg_ep_enable().

Tested-by: John Keeping <john@metanate.com>
Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c

index 26cf09d0fe3ce330ed65ac8dfa3dc4c38d809769..34c63e94f1f5dbb702ae11c1115e6270fd122b0d 100644 (file)
@@ -632,7 +632,6 @@ static void dwc2_hsotg_start_req(struct dwc2_hsotg *hsotg,
        }
 
        ctrl |= DXEPCTL_EPENA;  /* ensure ep enabled */
-       ctrl |= DXEPCTL_USBACTEP;
 
        dev_dbg(hsotg->dev, "ep0 state:%d\n", hsotg->ep0_state);