Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344287
b: refs/heads/master
c: 34c93c8
h: refs/heads/master
i:
  344285: 9251538
  344283: fe7bd1d
  344279: 05df438
  344271: 02ae404
  344255: 67f3fc5
v: v3
  • Loading branch information
Andrew Lunn authored and Thomas Petazzoni committed Nov 20, 2012
1 parent 1f0fbcb commit e641b66
Show file tree
Hide file tree
Showing 2 changed files with 10 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: cd09fea446f485f1514ad444cb06a35e1dd63326
refs/heads/master: 34c93c8657935d30649e777c4aa05f74f16aa418
9 changes: 9 additions & 0 deletions trunk/drivers/dma/mv_xor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,14 @@ mv_xor_xor_self_test(struct mv_xor_chan *mv_chan)
return err;
}

/* This driver does not implement any of the optional DMA operations. */
static int
mv_xor_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd,
unsigned long arg)
{
return -ENOSYS;
}

static int mv_xor_channel_remove(struct mv_xor_chan *mv_chan)
{
struct dma_chan *chan, *_chan;
Expand Down Expand Up @@ -1130,6 +1138,7 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
dma_dev->device_free_chan_resources = mv_xor_free_chan_resources;
dma_dev->device_tx_status = mv_xor_status;
dma_dev->device_issue_pending = mv_xor_issue_pending;
dma_dev->device_control = mv_xor_control;
dma_dev->dev = &pdev->dev;

/* set prep routines based on capability */
Expand Down

0 comments on commit e641b66

Please sign in to comment.