Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308056
b: refs/heads/master
c: 922ee08
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Vinod Koul committed May 11, 2012
1 parent d28b3ed commit e687ec2
Show file tree
Hide file tree
Showing 2 changed files with 5 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: fdaf9c4b22247a6cc6cda9459be3e52764c14d95
refs/heads/master: 922ee08baad2052d0759f100e026d49798c51fef
6 changes: 4 additions & 2 deletions trunk/include/linux/dmaengine.h
Original file line number Diff line number Diff line change
Expand Up @@ -615,11 +615,13 @@ static inline int dmaengine_slave_config(struct dma_chan *chan,
}

static inline struct dma_async_tx_descriptor *dmaengine_prep_slave_single(
struct dma_chan *chan, void *buf, size_t len,
struct dma_chan *chan, dma_addr_t buf, size_t len,
enum dma_transfer_direction dir, unsigned long flags)
{
struct scatterlist sg;
sg_init_one(&sg, buf, len);
sg_init_table(&sg, 1);
sg_dma_address(&sg) = buf;
sg_dma_len(&sg) = len;

return chan->device->device_prep_slave_sg(chan, &sg, 1,
dir, flags, NULL);
Expand Down

0 comments on commit e687ec2

Please sign in to comment.