Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98824
b: refs/heads/master
c: 568b493
h: refs/heads/master
v: v3
  • Loading branch information
Wang Chen authored and David S. Miller committed Jul 8, 2008
1 parent ab8b39e commit b23fd32
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 3888e9efc9bf05e60504d2a420be7a527ff43678
refs/heads/master: 568b4933a9902aed0f51e2e1bea3da157fb18833
3 changes: 3 additions & 0 deletions trunk/drivers/net/irda/via-ircc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1546,6 +1546,7 @@ static int via_ircc_net_open(struct net_device *dev)
IRDA_WARNING("%s, unable to allocate dma2=%d\n",
driver_name, self->io.dma2);
free_irq(self->io.irq, self);
free_dma(self->io.dma);
return -EAGAIN;
}
}
Expand Down Expand Up @@ -1606,6 +1607,8 @@ static int via_ircc_net_close(struct net_device *dev)
EnAllInt(iobase, OFF);
free_irq(self->io.irq, dev);
free_dma(self->io.dma);
if (self->io.dma2 != self->io.dma)
free_dma(self->io.dma2);

return 0;
}
Expand Down

0 comments on commit b23fd32

Please sign in to comment.