[PATCH] [v3, 1/1] clocksource/drivers/timer-mediatek: optimize systimer irq clear flow on shutdown
Fengquan Chen
Fengquan.Chen at mediatek.com
Fri Apr 9 09:36:06 BST 2021
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
Fixes: e3af677607d9("clocksource/drivers/timer-mediatek: Add support for system timer")
Signed-off-by: Fengquan Chen <fengquan.chen at mediatek.com>
Fengquan Chen (1):
[v3, 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-arm-kernel
mailing list