From: Alexander Shishkin Date: Wed, 21 Dec 2011 08:19:40 +0000 (+0200) Subject: usb: gadget: langwell: don't call gadget's disconnect() X-Git-Tag: v3.2.3~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e64e861c1c9c38a0e6a45da1c7d6bdbaba4588e1;p=pandora-kernel.git usb: gadget: langwell: don't call gadget's disconnect() commit 37fd37108449d574da11aa9055c5c8afb39ff226 upstream. UDC core will call disconnect() and unbind() for us upon the gadget removal, so we should not do it ourselves. Otherwise, a composite gadget will explode, for example. Others might too. This was introduced during conversion to new style gadget in 2c7f0989 (usb: gadget: langwell: convert to new style). Signed-off-by: Alexander Shishkin Cc: Heikki Krogerus Cc: linux-usb@vger.kernel.org Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed