mirror of https://github.com/thesofproject/sof.git
interrupt: SOF_IRQ_NUMBER() for DSP interrupts is not needed
DSP interrupts have their own interrupt number in parent interrupt bits, therefore using SOF_IRQ_NUMBER() for them is redundant. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
6f238763fa
commit
19ac2359c8
|
@ -224,13 +224,13 @@ static const struct irq_cascade_tmpl dsp_irq[] = {
|
|||
void platform_interrupt_set(uint32_t irq)
|
||||
{
|
||||
if (interrupt_is_dsp_direct(irq))
|
||||
arch_interrupt_set(SOF_IRQ_NUMBER(irq));
|
||||
arch_interrupt_set(irq);
|
||||
}
|
||||
|
||||
void platform_interrupt_clear(uint32_t irq, uint32_t mask)
|
||||
{
|
||||
if (interrupt_is_dsp_direct(irq))
|
||||
arch_interrupt_clear(SOF_IRQ_NUMBER(irq));
|
||||
arch_interrupt_clear(irq);
|
||||
}
|
||||
|
||||
/* Called on each core: from platform_init() and from slave_core_init() */
|
||||
|
|
Loading…
Reference in New Issue