Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259715
b: refs/heads/master
c: 85678d5
h: refs/heads/master
i:
  259713: 3fedede
  259711: 4888685
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent 061c92b commit f7f2c5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 880e96166c2cd1d84df0ccb02d413dcbf422796b
refs/heads/master: 85678d5d27cb0ea1005316f51b1b062bf4609b66
2 changes: 2 additions & 0 deletions trunk/drivers/staging/comedi/drivers/usbdux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1465,6 +1465,7 @@ static int usbdux_ao_inttrig(struct comedi_device *dev,
dev_err(&this_usbduxsub->interface->dev,
"comedi%d: usbdux_ao_inttrig: invalid trignum\n",
dev->minor);
up(&this_usbduxsub->sem);
return -EINVAL;
}
if (!(this_usbduxsub->ao_cmd_running)) {
Expand Down Expand Up @@ -2671,6 +2672,7 @@ static int usbdux_attach(struct comedi_device *dev, struct comedi_devconfig *it)
if (ret < 0) {
dev_err(&udev->interface->dev,
"comedi%d: error alloc space for subdev\n", dev->minor);
up(&udev->sem);
up(&start_stop_sem);
return ret;
}
Expand Down

0 comments on commit f7f2c5d

Please sign in to comment.