From: Felipe Balbi Date: Wed, 6 Jun 2012 06:18:12 +0000 (+0300) Subject: usb: dwc3: gadget: don't call stop_active_transfers() on disconnect X-Git-Tag: v3.6-rc1~101^2~53^2~27^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e2360eadaa33c09bb72afb14f74b6c6ab2aca66;p=pandora-kernel.git usb: dwc3: gadget: don't call stop_active_transfers() on disconnect In case we get disconnected, we will call gadget driver's disconnect method, which should make sure to disable all endpoints. At that point we will call stop_active_transfers() to make sure we didn't leave any pending request on the controller. Tested-by: Pratyush Anand Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed