Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71df30f8 authored by Kenji Kaneshige's avatar Kenji Kaneshige Committed by Len Brown
Browse files

[ACPI] PNPACPI driver now checks for acpi_register_gsi() errors

parent a9bd53bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ pnpacpi_parse_allocated_irqresource(struct pnp_resource_table * res, int irq)
		i++;
	if (i < PNP_MAX_IRQ) {
		res->irq_resource[i].flags = IORESOURCE_IRQ;  //Also clears _UNSET flag
		if (irq == -1) {
		if (irq < 0) {
			res->irq_resource[i].flags |= IORESOURCE_DISABLED;
			return;
		}