16 lines
409 B
Diff
16 lines
409 B
Diff
|
--- 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.
|