diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2020-09-18 21:22:32 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-09-24 10:51:04 +0200 |
commit | 2f71078e7753b2fbba62999aa46c2fad16df9d98 (patch) | |
tree | 803cfae1d16c52055c6532456bc9847105a8053c /drivers/clocksource/timer-cs5535.c | |
parent | 975434f8b24a55af31daa4634972890c061a0a0c (diff) |
clocksource/drivers/sp804: Remove a mismatched comment
writel(0, base + TIMER_CTRL);
... ...
writel(xxx | TIMER_CTRL_PERIODIC, base + TIMER_CTRL);
The timer is just temporarily disabled, and it will be set to periodic
mode later.
The description of the field TimerMode of the register TimerXControl
as shown below:
0 = Timer module is in free-running mode (default)
1 = Timer module is in periodic mode.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200918132237.3552-5-thunder.leizhen@huawei.com
Diffstat (limited to 'drivers/clocksource/timer-cs5535.c')
0 files changed, 0 insertions, 0 deletions