Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358481
b: refs/heads/master
c: bfc191e
h: refs/heads/master
i:
  358479: 8d9376f
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Vinod Koul committed Jan 8, 2013
1 parent 7b72c92 commit e6aaad7
Show file tree
Hide file tree
Showing 2 changed files with 4 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: d1806a5c4d2248d2799f4367dbdb1800be94a26f
refs/heads/master: bfc191ea568a9c00ab652750686f83ad2daf92a8
4 changes: 3 additions & 1 deletion trunk/drivers/misc/carma/carma-fpga.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,8 @@ static int data_submit_dma(struct fpga_device *priv, struct data_buf *buf)
struct dma_async_tx_descriptor *tx;
dma_cookie_t cookie;
dma_addr_t dst, src;
unsigned long dma_flags = DMA_COMPL_SKIP_DEST_UNMAP |
DMA_COMPL_SKIP_SRC_UNMAP;

dst_sg = buf->vb.sglist;
dst_nents = buf->vb.sglen;
Expand Down Expand Up @@ -666,7 +668,7 @@ static int data_submit_dma(struct fpga_device *priv, struct data_buf *buf)
src = SYS_FPGA_BLOCK;
tx = chan->device->device_prep_dma_memcpy(chan, dst, src,
REG_BLOCK_SIZE,
0);
dma_flags);
if (!tx) {
dev_err(priv->dev, "unable to prep SYS-FPGA DMA\n");
return -ENOMEM;
Expand Down

0 comments on commit e6aaad7

Please sign in to comment.