From: Felipe Balbi Date: Mon, 3 Oct 2011 13:39:30 +0000 (+0300) Subject: usb: gadget: core: fix bug when removing gadget drivers X-Git-Tag: v3.2-rc3~17^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f39504de55ef69bb8d9d0a645949c5d0407faab;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed