From: Felipe Balbi Date: Mon, 22 Jul 2013 09:41:47 +0000 (+0300) Subject: usb: dwc3: ep0: don't change to configured state too early X-Git-Tag: v3.12-rc1~186^2~77^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c81290e87bf01b507deabf0f478e051367cb416;p=pandora-kernel.git usb: dwc3: ep0: don't change to configured state too early before changing to configured state, we need to wait until gadget driver has had a chance to process the request. In case of USB_GADGET_DELAYED_STATUS, that means we need to defer usb_gadget_set_state() until the upcoming usb_ep_queue(). Reported-by: Alan Stern Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed