Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304396
b: refs/heads/master
c: 8f9064a
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Apr 20, 2012
1 parent a1f8c39 commit 70d1037
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: 3fb95e564e535a1614f7cea1ac194f312eb0d2b8
refs/heads/master: 8f9064a8a3b9f0dfd53bb0dfb3bbbfb457dda4bb
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers/vmk80xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1020,12 +1020,12 @@ static int vmk80xx_cnt_cinsn(struct comedi_device *cdev,
if (n)
return n;

down(&dev->limit_sem);

insn_cmd = data[0];
if (insn_cmd != INSN_CONFIG_RESET && insn_cmd != GPCT_RESET)
return -EINVAL;

down(&dev->limit_sem);

chan = CR_CHAN(insn->chanspec);

if (dev->board.model == VMK8055_MODEL) {
Expand Down

0 comments on commit 70d1037

Please sign in to comment.