Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264989
b: refs/heads/master
c: bb7ea28
h: refs/heads/master
i:
  264987: 0d6bac1
v: v3
  • Loading branch information
Felipe Balbi committed Sep 9, 2011
1 parent bc8bf8b commit 062e4f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 771f184ecebf34929a849eaa707aa463234254f7
refs/heads/master: bb7ea2841e9c8669ac31e4262f585729bf779bff
9 changes: 0 additions & 9 deletions trunk/drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ void dwc3_map_buffer_to_dma(struct dwc3_request *req)
req->request.length, req->direction
? DMA_TO_DEVICE : DMA_FROM_DEVICE);
req->mapped = true;
} else {
dma_sync_single_for_device(dwc->dev, req->request.dma,
req->request.length, req->direction
? DMA_TO_DEVICE : DMA_FROM_DEVICE);
req->mapped = false;
}
}

Expand All @@ -94,10 +89,6 @@ void dwc3_unmap_buffer_from_dma(struct dwc3_request *req)
? DMA_TO_DEVICE : DMA_FROM_DEVICE);
req->mapped = 0;
req->request.dma = DMA_ADDR_INVALID;
} else {
dma_sync_single_for_cpu(dwc->dev, req->request.dma,
req->request.length, req->direction
? DMA_TO_DEVICE : DMA_FROM_DEVICE);
}
}

Expand Down

0 comments on commit 062e4f6

Please sign in to comment.