Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7844
b: refs/heads/master
c: 5f0110f
h: refs/heads/master
v: v3
  • Loading branch information
Kenji Kaneshige authored and Len Brown committed Sep 3, 2005
1 parent d3bc735 commit 5bbd803
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 8713cbefafbb5a101ade541a4b0ffa108bf697cc
refs/heads/master: 5f0110f2a716376f3b260703835f527ca8900946
5 changes: 1 addition & 4 deletions trunk/drivers/acpi/pci_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,17 +500,14 @@ void acpi_pci_irq_disable(struct pci_dev *dev)

ACPI_FUNCTION_TRACE("acpi_pci_irq_disable");

if (!dev)
if (!dev || !dev->bus)
return_VOID;

pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
if (!pin)
return_VOID;
pin--;

if (!dev->bus)
return_VOID;

/*
* First we check the PCI IRQ routing table (PRT) for an IRQ.
*/
Expand Down

0 comments on commit 5bbd803

Please sign in to comment.