summaryrefslogtreecommitdiffstats
path: root/freed-ora/tags/f16/3.6.8-2.fc16.gnu/ips-noirq.patch
blob: 95837ecf4748c4c5c093a40e964838fa5c0229bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/drivers/platform/x86/intel_ips.c	
+++ a/drivers/platform/x86/intel_ips.c	
@@ -1603,6 +1603,12 @@ static int ips_probe(struct pci_dev *dev, const struct pci_device_id *id)
 		goto error_unmap;
 	}
 
+	/* No IRQ assigned is a BIOS failure... */
+	if (dev->irq <= 0) {
+		ret = -ENODEV;
+		goto error_unmap;
+	}
+
 	/*
 	 * IRQ handler for ME interaction
 	 * Note: don't use MSI here as the PCH has bugs.
OpenPOWER on IntegriCloud