commit | 6f39504de55ef69bb8d9d0a645949c5d0407faab | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Mon Oct 03 16:39:30 2011 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Nov 14 11:51:16 2011 -0800 |
tree | 133190376c9d29efa2731259c4d07c7a2b782c28 | |
parent | 3c2d636a1c6f1f84adf77737ca716f956595ae80 [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>