From: Sebastian Andrzej Siewior Date: Wed, 2 Nov 2011 12:30:44 +0000 (+0100) Subject: usb: dwc3: ep0: push ep0state into xfernotready processing X-Git-Tag: v3.3-rc1~153^2~30^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0f2b2a2db85f99637376caf25e46623af56acad;p=pandora-kernel.git usb: dwc3: ep0: push ep0state into xfernotready processing We wait for the XferNotReady before we start the transfer and by then we know ep0 state in which we supposed to be. This is some cleanup work for the following patch in which we require to know the ep0 state before the transfer completes. While here, also change the argument to dwc3_ep0_do_control_status() so we don't require the complete event structure but only the required piece of information. Inspired-by: Felipe Balbi Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed