mirror of https://github.com/thesofproject/sof.git
cavs: timer: remove the wrong timer_disable
The timer_disable() in the timer_register() is wrong, the interrupt_enable() calling handles the interrupt enabling already, remove the wrong timer_disable() calling to correct it. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
parent
a398e92f2e
commit
77a231202c
|
@ -165,9 +165,6 @@ static int platform_timer_register(struct timer *timer,
|
|||
/* enable timer interrupt */
|
||||
interrupt_enable(timer->logical_irq, arg);
|
||||
|
||||
/* disable timer interrupt on core level */
|
||||
timer_disable(timer, arg, cpu_get_id());
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue