Skip to content
Commit fc686d00 authored by Daniel Lezcano's avatar Daniel Lezcano
Browse files

clockevents/drivers/mtk: Fix spurious interrupt leading to crash



After analysis done by Yingjoe Chen, the timer appears to have a pending
interrupt when it is enabled.

Fix this by acknowledging the pending interrupt when enabling the timer
interrupt.

Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: default avatarYingjoe Chen <yingjoe.chen@mediatek.com>
parent c8d75aa4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment