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.3-rc2~5^2~4^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37fd37108449d574da11aa9055c5c8afb39ff226;p=pandora-kernel.git usb: gadget: langwell: don't call gadget's disconnect() 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: stable@vger.kernel.org # v3.2 Cc: Heikki Krogerus Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed