irq-chip: gic-v3: Initialize mpm for GIC monitored interrupts
MPM initialization happens during pin control probe. If any driver where to request a IRQ before pinctrl probe, MPM is unaware of this and the interrupt isn't monitored for wakeup. The MPM for GIC interrupts only, pinctrl configuration will be done when pinctrl driver is probed as always earlier. Change-Id: Ib40a61c9cc93e95f5dcde7293911086dcf0b3c2f Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
This commit is contained in:
parent
1f1574bb18
commit
6030ad31ec
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@
|
|||
#include <linux/irqchip.h>
|
||||
#include <linux/irqchip/arm-gic-v3.h>
|
||||
#include <linux/syscore_ops.h>
|
||||
#include <linux/irqchip/msm-mpm-irq.h>
|
||||
|
||||
#include <asm/cputype.h>
|
||||
#include <asm/exception.h>
|
||||
|
@ -1107,6 +1108,7 @@ static int __init gic_of_init(struct device_node *node, struct device_node *pare
|
|||
gic_dist_init();
|
||||
gic_cpu_init();
|
||||
gic_cpu_pm_init();
|
||||
of_mpm_init();
|
||||
|
||||
#ifdef CONFIG_ARM_GIC_PANIC_HANDLER
|
||||
atomic_notifier_chain_register(&panic_notifier_list, &gic_panic_blk);
|
||||
|
|
Loading…
Add table
Reference in a new issue