usb: dwc2/gadget: do not call disconnect method in pullup
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 9 Sep 2014 08:44:11 +0000 (10:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2014 17:17:48 +0000 (10:17 -0700)
commitb510df5a36c066da3a188f4ade3404118b63c6de
treefd33cd807199491bc9df7c94be897705b1aef461
parente0cbe595db72b037260bbda77106f6811a1ebb1d
usb: dwc2/gadget: do not call disconnect method in pullup

This leads to potential spinlock recursion in composite framework, other
udc drivers also don't call it directly from pullup method.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Cc: stable <stable@vger.kernel.org> # 3.16
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/gadget.c