Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337882
b: refs/heads/master
c: 87722a7
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 44dce93 commit 8d3ccb0
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 9138de6b6befaae36b1074ce01c37517aceda061
refs/heads/master: 87722a7ab74f2f9d89dcd45955a1c1d304e5e1c6
6 changes: 2 additions & 4 deletions trunk/drivers/staging/comedi/drivers/addi_apci_1516.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,9 @@ static void apci1516_detach(struct comedi_device *dev)
{
struct pci_dev *pcidev = comedi_to_pci_dev(dev);

if (dev->iobase)
if (dev->iobase) {
apci1516_reset(dev);
if (pcidev) {
if (dev->iobase)
comedi_pci_disable(pcidev);
comedi_pci_disable(pcidev);
}
}

Expand Down

0 comments on commit 8d3ccb0

Please sign in to comment.