projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc07c8d
)
fix adb open endpoint not empty bug
author
yangkai
<yangkai@ubuntu-fs>
Fri, 15 Apr 2011 09:45:17 +0000
(17:45 +0800)
committer
yangkai
<yangkai@ubuntu-fs>
Fri, 15 Apr 2011 09:45:17 +0000
(17:45 +0800)
drivers/usb/dwc_otg/dwc_otg_pcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc_otg/dwc_otg_pcd.c
b/drivers/usb/dwc_otg/dwc_otg_pcd.c
index e6733894e4f5f95dd3d09c627897bd3bf051db2c..6c1f1d720c18be338b38d3a995d1551209eaa47f 100755
(executable)
--- a/
drivers/usb/dwc_otg/dwc_otg_pcd.c
+++ b/
drivers/usb/dwc_otg/dwc_otg_pcd.c
@@
-563,11
+563,11
@@
static int dwc_otg_pcd_ep_queue(struct usb_ep *_ep,
/* 20091226,HSL@RK */
if ( !list_empty(&req->queue) )
{
- DWC_PRINT("%s::ep %s req not empty,done it error!\n" , __func__, _ep->name);
- return -EINVAL;
while(!list_empty(&req->queue) ) {
ep = container_of(_ep, dwc_otg_pcd_ep_t, ep);
request_done(ep, req, -ECONNABORTED);
+ DWC_PRINT("%s::ep %s req not empty,done it error!\n" , __func__, _ep->name);
+ return -EINVAL;
}
}