Currently hwirq number is used to get descriptor for irq
in gic_show_resume_irq function which returns incorrect
irq descriptor.
Update it to use correct irq number using irq_find_mapping.
Change-Id: Ib61ebcb3d5e520566b157ee5781d11b70d0f513d
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
i < gic->gic_irqs;
i = find_next_bit((unsigned long *)pending,
gic->gic_irqs, i+1)) {
- struct irq_desc *desc = irq_to_desc(i + gic->irq_offset);
+ unsigned int irq = irq_find_mapping(gic->domain,
+ i + gic->irq_offset);
+ struct irq_desc *desc = irq_to_desc(irq);
const char *name = "null";
if (desc == NULL)