Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132062
b: refs/heads/master
c: 2b8a6bf
h: refs/heads/master
v: v3
  • Loading branch information
Maciej Sosnowski authored and Dan Williams committed Mar 4, 2009
1 parent 6d75cce commit 39cf4f8
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8b794b141c633083408d0bfb2229b3406d0ebf99
refs/heads/master: 2b8a6bf896ef47cc7d84c503079cc7b99789f9fa
7 changes: 3 additions & 4 deletions trunk/drivers/dma/ioat_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1705,6 +1705,9 @@ void ioat_dma_remove(struct ioatdma_device *device)
struct dma_chan *chan, *_chan;
struct ioat_dma_chan *ioat_chan;

if (device->version != IOAT_VER_3_0)
cancel_delayed_work(&device->work);

ioat_dma_remove_interrupts(device);

dma_async_device_unregister(&device->common);
Expand All @@ -1716,10 +1719,6 @@ void ioat_dma_remove(struct ioatdma_device *device)
pci_release_regions(device->pdev);
pci_disable_device(device->pdev);

if (device->version != IOAT_VER_3_0) {
cancel_delayed_work(&device->work);
}

list_for_each_entry_safe(chan, _chan,
&device->common.channels, device_node) {
ioat_chan = to_ioat_chan(chan);
Expand Down

0 comments on commit 39cf4f8

Please sign in to comment.