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:
Guennadi Liakhovetski 2019-02-22 11:09:25 +01:00 committed by Liam Girdwood
parent 6f238763fa
commit 19ac2359c8
1 changed files with 2 additions and 2 deletions

View File

@ -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() */