Commit 1d6d3046 authored by Felipe Balbi's avatar Felipe Balbi Committed by Ido Shayevitz
Browse files

usb: gadget: core: fix bug when removing gadget drivers



usb_gadget_disconnect() is responsible of removing
data pullups. Before doing that we must, first, tell
gadget driver we're disconnecting (by calling disconnect
method on gadget driver structure), unbind the gadget
driver and stop the controller.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarIdo Shayevitz <idos@codeaurora.org>
parent 145cbade
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment