diff options
author | Felipe Balbi <balbi@ti.com> | 2011-08-31 04:51:43 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 06:02:15 -0400 |
commit | b673cf3002bfded05d68c8bad394ee68f5e8c515 (patch) | |
tree | 9e992fc1927a5a53d891f5d8854649408c14280d /drivers/usb/dwc3/ep0.c | |
parent | 61d58242f634642de42d6a4098913b7254a65053 (diff) |
usb: dwc3: ep0: fix Get Status handling
data was prepared on setup_buf but transfer
was started on ctrl_req, fix it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/ep0.c')
-rw-r--r-- | drivers/usb/dwc3/ep0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 82a40a1b6b65..6745d145775d 100644 --- a/drivers/usb/dwc3/ep0.c +++ b/drivers/usb/dwc3/ep0.c | |||
@@ -249,7 +249,7 @@ static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) | |||
249 | 249 | ||
250 | static void dwc3_ep0_send_status_response(struct dwc3 *dwc) | 250 | static void dwc3_ep0_send_status_response(struct dwc3 *dwc) |
251 | { | 251 | { |
252 | dwc3_ep0_start_trans(dwc, 1, dwc->ctrl_req_addr, | 252 | dwc3_ep0_start_trans(dwc, 1, dwc->setup_buf_addr, |
253 | dwc->ep0_usb_req.length, | 253 | dwc->ep0_usb_req.length, |
254 | DWC3_TRBCTL_CONTROL_DATA); | 254 | DWC3_TRBCTL_CONTROL_DATA); |
255 | dwc->ep0_status_pending = 1; | 255 | dwc->ep0_status_pending = 1; |