dwc3: gadget: Remove disabling events and ep0 from gadget stop
Controller driver explicitly puts the controller in low power mode when cable disconnected. However, due to config-fs and ADB design which unbinds composition on every cable disconnect results in detaching/stopping gadget driver on every cable disconnect. Gadget stop will explicitly brings the controller out of low power mode to disable events and ep0 which is not necessary as controller is already in low power mode. These operations are not required for composition switch as well because gadget pull-up call back will take care of that. Hence, Remove disabling events and ep0 from stop gadget callback. Change-Id: If2b3e241076a4e0eeb87eeb4361398313fca6962 Signed-off-by:Vamsi Krishna Samavedam <vskrishn@codeaurora.org> Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment