[v2, 1/1]Fixes: e3af677607d9(clocksource/drivers/timer-mediatek: optimize systimer irq clear flow on shutdown)

Fengquan Chen Fengquan.Chen at mediatek.com
Tue Mar 23 02:29:02 GMT 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

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

Fengquan Chen (1):
  [v2, 1/1]Fixes: e3af677607d9(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