Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364007
b: refs/heads/master
c: 0682323
h: refs/heads/master
i:
  364005: f95b514
  364003: 993f0c0
  363999: 7ada801
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 9, 2013
1 parent 66bb84d commit e91c5f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 853fc892239b4fb1b4d8a80b6d8c3f65061ff5bb
refs/heads/master: 0682323c520cd05bac2df6117b01263df759b7b7
7 changes: 4 additions & 3 deletions trunk/drivers/staging/comedi/drivers/rti800.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,16 +219,17 @@ static int rti800_ai_insn_read(struct comedi_device *dev,

static int rti800_ao_insn_read(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data)
struct comedi_insn *insn,
unsigned int *data)
{
struct rti800_private *devpriv = dev->private;
int i;
int chan = CR_CHAN(insn->chanspec);
int i;

for (i = 0; i < insn->n; i++)
data[i] = devpriv->ao_readback[chan];

return i;
return insn->n;
}

static int rti800_ao_insn_write(struct comedi_device *dev,
Expand Down

0 comments on commit e91c5f4

Please sign in to comment.