projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d5824
)
usb: dwc3: ep0: fix Get Status handling
author
Felipe Balbi
<balbi@ti.com>
Wed, 31 Aug 2011 08:51:43 +0000
(11:51 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 9 Sep 2011 10:02:15 +0000
(13:02 +0300)
data was prepared on setup_buf but transfer
was started on ctrl_req, fix it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/ep0.c
b/drivers/usb/dwc3/ep0.c
index 82a40a1b6b6587eb2c4d15bb60bb017537c9e393..6745d145775d038682cb9840b1a33af4a77f8e79 100644
(file)
--- 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)
static void dwc3_ep0_send_status_response(struct dwc3 *dwc)
{
- dwc3_ep0_start_trans(dwc, 1, dwc->
ctrl_req
_addr,
+ dwc3_ep0_start_trans(dwc, 1, dwc->
setup_buf
_addr,
dwc->ep0_usb_req.length,
DWC3_TRBCTL_CONTROL_DATA);
dwc->ep0_status_pending = 1;