Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210963
b: refs/heads/master
c: 4c64733
h: refs/heads/master
i:
  210961: 3ef1648
  210959: f8a2886
v: v3
  • Loading branch information
Santosh Shilimkar authored and Greg Kroah-Hartman committed Sep 24, 2010
1 parent 3649cea commit 8177b9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 66af83ddf7b5a4ea94e79cbeadaa0aeed4def5f7
refs/heads/master: 4c647338267e14c93892f6f125f17ea2419eea51
6 changes: 6 additions & 0 deletions trunk/drivers/usb/musb/musb_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,12 @@ static bool musb_tx_dma_program(struct dma_controller *dma,

qh->segsize = length;

/*
* Ensure the data reaches to main memory before starting
* DMA transfer
*/
wmb();

if (!dma->channel_program(channel, pkt_size, mode,
urb->transfer_dma + offset, length)) {
dma->channel_release(channel);
Expand Down

0 comments on commit 8177b9d

Please sign in to comment.