diff options
author | Tony Lindgren <tony@atomide.com> | 2021-03-04 10:21:35 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-04-08 14:23:47 +0300 |
commit | ac4daf737674b4d29e19b7c300caff3bcf7160d8 (patch) | |
tree | 7f2b4153b286a827b392382447c5e3cffc67ae74 /drivers/clocksource/ingenic-ost.c | |
parent | 212709926c5493a566ca4086ad4f4b0d4e66b553 (diff) | |
download | linux-ac4daf737674b4d29e19b7c300caff3bcf7160d8.tar.xz |
clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped
To avoid spurious timer interrupts when KTIME_MAX is used, we need to
configure set_state_oneshot_stopped(). Although implementing this is
optional, it still affects things like power management for the extra
timer interrupt.
For more information, please see commit 8fff52fd5093 ("clockevents:
Introduce CLOCK_EVT_STATE_ONESHOT_STOPPED state") and commit cf8c5009ee37
("clockevents/drivers/arm_arch_timer: Implement
->set_state_oneshot_stopped()").
Fixes: 52762fbd1c47 ("clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210304072135.52712-4-tony@atomide.com
Diffstat (limited to 'drivers/clocksource/ingenic-ost.c')
0 files changed, 0 insertions, 0 deletions