[PATCH] clocksource/drivers/timer-mediatek: optimize systimer irq clear flow on Mediatek Socs

Fengquan Chen
2021-03-02T07:34:14Z

clocksource/drivers/timer-mediatek: optimize systimer irq clear flow on Mediatek Socs

1)ensure systimer is enabled before clear and disable interrupt, which only
for systimer in Mediatek Socs.

2)clear any pending timer-irq when shutdown to keep suspend flow clean,
when use systimer as tick-broadcast timer

Signed-off-by: Fengquan Chen <fengquan.chen@mediatek.com>

Fengquan Chen (1):
clocksource/drivers/timer-mediatek: optimize systimer irq clear flow
on Mediatek Socs

drivers/clocksource/timer-mediatek.c | 4 ++++
1 file changed, 4 insertions(+)

--
1.8.1.1.dirty