xtensa: cavs: fix irq_enable() argument
irq_enable() should be called with the composite IRQ code as its argument, not just the Xtensa proper part of it. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
a4643dc132
commit
a871f0be49
2 changed files with 2 additions and 2 deletions
|
@ -193,6 +193,6 @@ void smp_timer_init(void)
|
|||
+ CAVS_ICTL_INT_CPU_OFFSET(arch_curr_cpu()->id)
|
||||
+ 0x04,
|
||||
22 + TIMER);
|
||||
irq_enable(XTENSA_IRQ_NUMBER(TIMER_IRQ));
|
||||
irq_enable(TIMER_IRQ);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -149,7 +149,7 @@ void z_mp_entry(void)
|
|||
|
||||
#ifdef CONFIG_IPM_CAVS_IDC
|
||||
/* Interrupt must be enabled while running on current core */
|
||||
irq_enable(XTENSA_IRQ_NUMBER(DT_IRQN(DT_INST(0, intel_cavs_idc))));
|
||||
irq_enable(DT_IRQN(DT_INST(0, intel_cavs_idc)));
|
||||
#endif /* CONFIG_IPM_CAVS_IDC */
|
||||
|
||||
start_rec.alive = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue