commit | 7d4b55434619202149387137bbb4ed9f6c681bd0 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Mon Oct 03 16:39:30 2011 +0300 |
committer | Ido Shayevitz <idos@codeaurora.org> | Fri Feb 03 21:28:41 2012 +0200 |
tree | 9cf422b1911b7cbba82171e963499882f18bfdb9 | |
parent | 6a9a34559d7c7a6274e2f74746ca1263c4db1264 [diff] |
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: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Ido Shayevitz <idos@codeaurora.org>