diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2011-12-21 09:19:40 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-01-24 14:41:57 +0100 |
commit | 37fd37108449d574da11aa9055c5c8afb39ff226 (patch) | |
tree | d3ffd76832f21aaed75f3403d787d6edd32742c8 /drivers/usb/musb/davinci.c | |
parent | usb: gadget: langwell: drop langwell_otg support (diff) | |
download | linux-37fd37108449d574da11aa9055c5c8afb39ff226.tar.xz linux-37fd37108449d574da11aa9055c5c8afb39ff226.zip |
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/usb/musb/davinci.c')
0 files changed, 0 insertions, 0 deletions