commit | 7c81290e87bf01b507deabf0f478e051367cb416 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Mon Jul 22 12:41:47 2013 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jul 29 13:57:04 2013 +0300 |
tree | 0e378bf02105063f5a9e7622b135f6cc9a1768ff | |
parent | 7a42d83536a5ea7ea7b4ad279c34c4c4ce509b5a [diff] |
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 <stern@rowland.harvard.edu> Signed-off-by: Felipe Balbi <balbi@ti.com>