Commit b921ef63 authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] ACPIPNP handle IRQ resource value of 0 (David Shaohua Li)

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent b16c829e
......@@ -304,6 +304,7 @@ static void pnpacpi_parse_irq_option(struct pnp_option *option,
return;
for(i = 0; i < p->number_of_interrupts; i++)
if (p->interrupts[i])
__set_bit(p->interrupts[i], irq->map);
irq->flags = irq_flags(p->edge_level, p->active_high_low);
......@@ -324,6 +325,7 @@ static void pnpacpi_parse_ext_irq_option(struct pnp_option *option,
return;
for(i = 0; i < p->number_of_interrupts; i++)
if (p->interrupts[i])
__set_bit(p->interrupts[i], irq->map);
irq->flags = irq_flags(p->edge_level, p->active_high_low);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment