diff options
author | Felipe Balbi <balbi@ti.com> | 2011-10-03 16:39:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-14 11:51:16 -0800 |
commit | 6f39504de55ef69bb8d9d0a645949c5d0407faab (patch) | |
tree | 133190376c9d29efa2731259c4d07c7a2b782c28 /drivers/usb/gadget/file_storage.c | |
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>
Diffstat (limited to 'drivers/usb/gadget/file_storage.c')
0 files changed, 0 insertions, 0 deletions