Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364053
b: refs/heads/master
c: c5c18cd
h: refs/heads/master
i:
  364051: 1bb5b51
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent e53e870 commit 1b87563
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: 6ca3f28b8529d9401a7be7641a8951c12443e05d
refs/heads/master: c5c18cd3661e57ef09b545570dac891c53b981e4
11 changes: 3 additions & 8 deletions trunk/drivers/staging/comedi/drivers/dt2814.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,10 @@ static int dt2814_attach(struct comedi_device *dev, struct comedi_devconfig *it)
int i, irq;
int ret;
struct comedi_subdevice *s;
unsigned long iobase;

iobase = it->options[0];
printk(KERN_INFO "comedi%d: dt2814: 0x%04lx ", dev->minor, iobase);
if (!request_region(iobase, DT2814_SIZE, "dt2814")) {
printk(KERN_ERR "I/O port conflict\n");
return -EIO;
}
dev->iobase = iobase;
ret = comedi_request_region(dev, it->options[0], DT2814_SIZE);
if (ret)
return ret;

outb(0, dev->iobase + DT2814_CSR);
udelay(100);
Expand Down

0 comments on commit 1b87563

Please sign in to comment.