Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197244
b: refs/heads/master
c: d18c590
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 11, 2010
1 parent 661fcf1 commit 2277764
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: b74a9670857c2af74e36ecbd31bbc55ddd8e1311
refs/heads/master: d18c5906d0914d911a13d342ff61a6bca6aff597
4 changes: 3 additions & 1 deletion trunk/drivers/staging/comedi/drivers/das1800.c
Original file line number Diff line number Diff line change
Expand Up @@ -1637,14 +1637,16 @@ static int das1800_ai_rinsn(struct comedi_device *dev,
}
if (i == timeout) {
comedi_error(dev, "timeout");
return -ETIME;
n = -ETIME;
goto exit;
}
dpnt = inw(dev->iobase + DAS1800_FIFO);
/* shift data to offset binary for bipolar ranges */
if ((conv_flags & UB) == 0)
dpnt += 1 << (thisboard->resolution - 1);
data[n] = dpnt;
}
exit:
spin_unlock_irqrestore(&dev->spinlock, irq_flags);

return n;
Expand Down

0 comments on commit 2277764

Please sign in to comment.