From: Felipe Balbi Date: Mon, 25 Jun 2012 16:30:49 +0000 (+0300) Subject: usb: dwc3: ep0: prevent starting transfers twice on ep0 X-Git-Tag: v3.6-rc1~101^2~53^2~27^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c81ababecd7ddae08ca944a65d8030cd393013c;p=pandora-kernel.git usb: dwc3: ep0: prevent starting transfers twice on ep0 In case we try to start an invalid test mode, we will call dwc3_ep0_stall_and_restart() but we will also call dwc3_ep0_out_start() which will start a second transfer on ep0. Let's prevent any problems by returning early in the error case. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed