diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2011-12-21 10:19:40 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-01-24 15:41:57 +0200 |
commit | 37fd37108449d574da11aa9055c5c8afb39ff226 (patch) | |
tree | d3ffd76832f21aaed75f3403d787d6edd32742c8 /drivers/nubus | |
parent | 28bd6222544d7559edf9ff487172e45ce46e2578 (diff) | |
download | linux-37fd37108449d574da11aa9055c5c8afb39ff226.tar.bz2 |
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 <alexander.shishkin@linux.intel.com>
Cc: stable@vger.kernel.org # v3.2
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions