mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
irqchip: irq-gic-v3: Update printing wake up irq
Update gic_show_resume_irq() to ignore printing irq details if irq is less than 32. Also update to print irqchip name if the irq name is not available. Change-Id: I17279ad38e96f71b6b322194f270068836ed601e Signed-off-by: Minghao Zhang <minghao@codeaurora.org> Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
This commit is contained in:
parent
f0cfd2d0dc
commit
9619cfb5b7
1 changed files with 5 additions and 0 deletions
|
|
@ -605,10 +605,15 @@ static void gic_show_resume_irq(struct gic_chip_data *gic)
|
|||
struct irq_desc *desc = irq_to_desc(irq);
|
||||
const char *name = "null";
|
||||
|
||||
if (i < 32)
|
||||
continue;
|
||||
|
||||
if (desc == NULL)
|
||||
name = "stray irq";
|
||||
else if (desc->action && desc->action->name)
|
||||
name = desc->action->name;
|
||||
else if (desc->irq_data.chip && desc->irq_data.chip->name)
|
||||
name = desc->irq_data.chip->name;
|
||||
|
||||
pr_warn("%s: irq:%d hwirq:%u triggered %s\n",
|
||||
__func__, irq, i, name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue