Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324927
b: refs/heads/master
c: bbea99d
h: refs/heads/master
i:
  324925: 2f3cbe8
  324923: b7154c0
  324919: 1999908
  324911: e3dfe34
  324895: cae4839
  324863: 14aac42
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent cd465d3 commit 89adafa
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: 4760904fb4a2841c9ac651e36610724929122385
refs/heads/master: bbea99d9c7221f69cadb4fd764f2a65e6292c756
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers/usbduxfast.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ static void usbduxfastsub_ai_Irq(struct urb *urb)
return;
}
/* subdevice which is the AD converter */
s = this_comedidev->subdevices + SUBDEV_AD;
s = &this_comedidev->subdevices[SUBDEV_AD];

/* first we test if something unusual has just happened */
switch (urb->status) {
Expand Down Expand Up @@ -1453,7 +1453,7 @@ static int usbduxfast_attach_common(struct comedi_device *dev,
/* private structure is also simply the usb-structure */
dev->private = udfs;
/* the first subdevice is the A/D converter */
s = dev->subdevices + SUBDEV_AD;
s = &dev->subdevices[SUBDEV_AD];
/*
* the URBs get the comedi subdevice which is responsible for reading
* this is the subdevice which reads data
Expand Down

0 comments on commit 89adafa

Please sign in to comment.