diff options
author | Peter Chen <peter.chen@nxp.com> | 2020-08-11 10:00:26 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-10-02 09:57:43 +0300 |
commit | 5a1da544e572f58986d7bee03d31c91d1f87f214 (patch) | |
tree | e0d45db31692f6351f3150d510deeac68b0807c0 /drivers/phy/lantiq | |
parent | 8266b08ed90cd9091dd8e3f37a740a409454e454 (diff) |
usb: gadget: core: do not try to disconnect gadget if it is not connected
Current UDC core connects gadget during the loading gadget flow
(udc_bind_to_driver->usb_udc_connect_control), but for
platforms which do not connect gadget if the VBUS is not there,
they call usb_gadget_disconnect, but the gadget is not connected
at this time, notify disconnecton for the gadget driver is meaningless
at this situation.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/phy/lantiq')
0 files changed, 0 insertions, 0 deletions