Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362300
b: refs/heads/master
c: 6e0eda3
h: refs/heads/master
v: v3
  • Loading branch information
Konstantin Khlebnikov authored and Bjorn Helgaas committed Apr 3, 2013
1 parent cae4093 commit a27aa00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: b8178f130e25c1bdac1c33e0996f1ff6e20ec08e
refs/heads/master: 6e0eda3c389887168455b92b6f7b48f552227067
5 changes: 3 additions & 2 deletions trunk/drivers/pci/pci-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,10 @@ static void pci_device_shutdown(struct device *dev)

/*
* Turn off Bus Master bit on the device to tell it to not
* continue to do DMA
* continue to do DMA. Don't touch devices in D3cold or unknown states.
*/
pci_clear_master(pci_dev);
if (pci_dev->current_state <= PCI_D3hot)
pci_clear_master(pci_dev);
}

#ifdef CONFIG_PM
Expand Down

0 comments on commit a27aa00

Please sign in to comment.