aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-fttmr010.c
diff options
context:
space:
mode:
authorFengquan Chen <Fengquan.Chen@mediatek.com>2021-04-09 17:22:42 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-08-14 02:44:35 +0200
commitce9570657d45d6387a68d7f419fe70d085200a2f (patch)
tree6b0010ac16301ae32fe34c9cbce5dffb0b27c0ba /drivers/clocksource/timer-fttmr010.c
parentclocksource/drivers/ingenic: Use bitfield macro helpers (diff)
downloadlinux-dev-ce9570657d45d6387a68d7f419fe70d085200a2f.tar.xz
linux-dev-ce9570657d45d6387a68d7f419fe70d085200a2f.zip
clocksource/drivers/mediatek: Optimize systimer irq clear flow on shutdown
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@mediatek.com> Tested-by: Hsin-Yi Wang <hsinyi@chromium.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/1617960162-1988-2-git-send-email-Fengquan.Chen@mediatek.com
Diffstat (limited to 'drivers/clocksource/timer-fttmr010.c')
0 files changed, 0 insertions, 0 deletions