Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317670
b: refs/heads/master
c: 7c1e5bc
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jul 6, 2012
1 parent 1524b12 commit 52f5032
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8366404bf1c034d902af06a6a6d88fe77a2cc7fb
refs/heads/master: 7c1e5bc7544db67985fed627cba206fc5dee6405
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers/adl_pci6208.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ static int pci6208_ao_rinsn(struct comedi_device *dev,
struct comedi_insn *insn, unsigned int *data)
{
struct pci6208_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 pci6208_dio_insn_bits(struct comedi_device *dev,
Expand Down

0 comments on commit 52f5032

Please sign in to comment.