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:
Keyon Jie 2021-05-07 12:46:41 +08:00 committed by Liam Girdwood
parent a398e92f2e
commit 77a231202c
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}