[v5, 1/1] clocksource/drivers/timer-mediatek: optimize systimer irq clear flow on shutdown
Fengquan Chen
Fengquan.Chen at mediatek.com
Tue Aug 24 02:23:09 PDT 2021
From: "fengquan.chen" <fengquan.chen at mediatek.com>
mtk_syst_clkevt_shutdown is called after irq disabled in suspend flow,
clear any pending systimer irq when shutdown to avoid suspend aborted
due to timer irq pending
Also as for systimer in mediatek socs, there must be firstly enable
timer before clear systimer irq
fengquan.chen (1):
[v5, 1/1] clocksource/drivers/timer-mediatek: optimize systimer irq
clear flow on shutdown
drivers/clocksource/timer-mediatek.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
--
1.8.1.1.dirty
More information about the Linux-mediatek
mailing list