Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353955
b: refs/heads/master
c: 0642c94
h: refs/heads/master
i:
  353953: 662c1f6
  353951: cfd76ce
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 19483a5 commit 789479f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 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: 8bd48c9ef1f1af96dc699e67a8dc985046e6f22b
refs/heads/master: 0642c94bcb2f3f61a3f68e98684a2b2f13f0411d
20 changes: 7 additions & 13 deletions trunk/drivers/staging/comedi/drivers/comedi_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,19 +203,13 @@ static void waveform_ai_interrupt(unsigned long arg)

for (i = 0; i < num_scans; i++) {
for (j = 0; j < cmd->chanlist_len; j++) {
cfc_write_to_buffer(dev->read_subdev,
fake_waveform(dev,
CR_CHAN(cmd->
chanlist[j]),
CR_RANGE(cmd->
chanlist[j]),
devpriv->
usec_current +
i *
devpriv->scan_period +
j *
devpriv->
convert_period));
unsigned short sample;
sample = fake_waveform(dev, CR_CHAN(cmd->chanlist[j]),
CR_RANGE(cmd->chanlist[j]),
devpriv->usec_current +
i * devpriv->scan_period +
j * devpriv->convert_period);
cfc_write_to_buffer(dev->read_subdev, sample);
}
}

Expand Down

0 comments on commit 789479f

Please sign in to comment.