Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337353
b: refs/heads/master
c: 53f63dc
h: refs/heads/master
i:
  337351: f37112f
v: v3
  • Loading branch information
YAMANE Toshiaki authored and Greg Kroah-Hartman committed Oct 29, 2012
1 parent ab786d9 commit ff697f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 543a09e9cf1485a8b55f6459b28f3fbab7bb55c3
refs/heads/master: 53f63dc7986ef72e5a2b1f046f1f65f484bdb51b
9 changes: 5 additions & 4 deletions trunk/drivers/staging/comedi/drivers/quatech_daqp_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static enum irqreturn daqp_interrupt(int irq, void *dev_id)
if (status & DAQP_STATUS_DATA_LOST) {
s->async->events |=
COMEDI_CB_EOA | COMEDI_CB_OVERFLOW;
printk("daqp: data lost\n");
dev_warn(dev->class_dev, "data lost\n");
daqp_ai_cancel(dev, s);
break;
}
Expand Down Expand Up @@ -398,7 +398,8 @@ static int daqp_ai_insn_read(struct comedi_device *dev,
&& (inb(dev->iobase + DAQP_STATUS) & DAQP_STATUS_EVENTS))
;
if (!counter) {
printk("daqp: couldn't clear interrupts in status register\n");
dev_err(dev->class_dev,
"couldn't clear interrupts in status register\n");
return -1;
}

Expand Down Expand Up @@ -824,8 +825,8 @@ static int daqp_attach(struct comedi_device *dev, struct comedi_devconfig *it)
struct comedi_subdevice *s;

if (it->options[0] < 0 || it->options[0] >= MAX_DEV || !local) {
printk("comedi%d: No such daqp device %d\n",
dev->minor, it->options[0]);
dev_err(dev->class_dev, "No such daqp device %d\n",
it->options[0]);
return -EIO;
}

Expand Down

0 comments on commit ff697f7

Please sign in to comment.