Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325973
b: refs/heads/master
c: d17d535
h: refs/heads/master
i:
  325971: 1a46e86
v: v3
  • Loading branch information
Ajay Kumar Gupta authored and Felipe Balbi committed Aug 3, 2012
1 parent b17fba4 commit 55c168f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 3132122c664dd9361e2179e8a388d87ca89ace6c
refs/heads/master: d17d535fec07dbd298b3f65838ec8d63c26ab360
2 changes: 1 addition & 1 deletion trunk/drivers/usb/musb/musb_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ static void txstate(struct musb *musb, struct musb_request *req)
request_size = min_t(size_t, request->length - request->actual,
musb_ep->dma->max_len);

use_dma = (request->dma != DMA_ADDR_INVALID);
use_dma = (request->dma != DMA_ADDR_INVALID && request_size);

/* MUSB_TXCSR_P_ISO is still set correctly */

Expand Down

0 comments on commit 55c168f

Please sign in to comment.