Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208011
b: refs/heads/master
c: 8ca47c8
h: refs/heads/master
i:
  208009: bdfdcf0
  208007: 610a960
v: v3
  • Loading branch information
Anand Gadiyar authored and Greg Kroah-Hartman committed Aug 10, 2010
1 parent cb2ee11 commit 92ab299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 3f1a9696aed6814601078f3c430a8e432b625c66
refs/heads/master: 8ca47c8a7621835914c053caaec74e66147dd7dc
5 changes: 1 addition & 4 deletions trunk/drivers/usb/musb/musbhsdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,7 @@ static int dma_channel_program(struct dma_channel *channel,
musb_channel->max_packet_sz = packet_sz;
channel->status = MUSB_DMA_STATUS_BUSY;

if ((mode == 1) && (len >= packet_sz))
configure_channel(channel, packet_sz, 1, dma_addr, len);
else
configure_channel(channel, packet_sz, 0, dma_addr, len);
configure_channel(channel, packet_sz, mode, dma_addr, len);

return true;
}
Expand Down

0 comments on commit 92ab299

Please sign in to comment.