Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222818
b: refs/heads/master
c: e75df37
h: refs/heads/master
v: v3
  • Loading branch information
Ming Lei authored and Felipe Balbi committed Nov 22, 2010
1 parent d79fd20 commit f7dbc96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92d2711f5dc15bf956546923a5718e74853f9912
refs/heads/master: e75df37165c639b06213ec88b4763c3e50a7f079
5 changes: 3 additions & 2 deletions trunk/drivers/usb/musb/musb_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,10 +765,11 @@ static void rxstate(struct musb *musb, struct musb_request *req)
if (is_dma_capable() && musb_ep->dma) {
unmap_dma_buffer(req, musb);

/* Clear DMAENAB for the
/*
* Clear DMAENAB and AUTOCLEAR for the
* PIO mode transfer
*/
csr &= ~MUSB_RXCSR_DMAENAB;
csr &= ~(MUSB_RXCSR_DMAENAB | MUSB_RXCSR_AUTOCLEAR);
musb_writew(epio, MUSB_RXCSR, csr);
}

Expand Down

0 comments on commit f7dbc96

Please sign in to comment.