Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1405311 > unrolled thread
| Started by | Andrew Goodbody <andrew.goodbody@cambrionix.com> |
|---|---|
| First post | 2016-05-23 14:10 +0200 |
| Last post | 2016-05-23 14:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH V2 0/2] usb: musb: fix dropped packets Andrew Goodbody <andrew.goodbody@cambrionix.com> - 2016-05-23 14:10 +0200
| From | Andrew Goodbody <andrew.goodbody@cambrionix.com> |
|---|---|
| Date | 2016-05-23 14:10 +0200 |
| Subject | [PATCH V2 0/2] usb: musb: fix dropped packets |
| Message-ID | <rBWQi-5Ct-9@gated-at.bofh.it> |
The musb driver can drop rx packets when heavily loaded. These two patches address two issues that can cause this. Both issues arose when an endpoint was reprogrammed. The first patch is a logic bug that resulted in a shared_fifo in rx mode not having its state cleared out. The second patch fixes a race condition caused by not stopping the dedicated endpoint for bulk packets before rotating its queue which allowed a packet to be recieved and then thrown away. V2 added a comment and removed debugging code Andrew Goodbody (2): usb: musb: Ensure rx reinit occurs for shared_fifo endpoints usb: musb: Stop bulk endpoint while queue is rotated drivers/usb/musb/musb_host.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) -- 2.7.4
Back to top | Article view | linux.kernel
csiph-web