diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-08-13 11:39:45 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-13 11:39:45 +0200 |
commit | b60bf53abc0323f91ac59b08a7642216281e662e (patch) | |
tree | 108fd26ab0456686bf76e7637c8f324eb4cb9542 /drivers/clocksource/arm_arch_timer.c | |
parent | 216e4a1def29a0d04182875034efb764eb37b8ff (diff) | |
parent | adb4f11e0a8f4e29900adb2b7af28b6bbd5c1fa4 (diff) | |
download | linux-b60bf53abc0323f91ac59b08a7642216281e662e.tar.gz linux-b60bf53abc0323f91ac59b08a7642216281e662e.tar.xz |
Merge branch 'clockevents/4.13-fixes' of http://git.linaro.org/people/daniel.lezcano/linux into timers/urgent
Pull clockevents fixes from Daniel Lezcano:
" - Fix error check against IS_ERR() instead of NULL for the timer-of code (Dan Carpenter)
- Fix infinite recusion with ftrace for the ARM architected timer (Ding Tianhong)
- Fix the error code return in the em_sti's probe function (Gustavo A. R. Silva)
- Fix Kconfig dependency for the pistachio driver (Matt Redfearn)
- Fix mem frame loop initialization for the ARM architected timer (Matthias Kaehlcke)"
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
-rw-r--r-- | drivers/clocksource/arm_arch_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index aae87c4c546e..72bbfccef113 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -1440,7 +1440,7 @@ static int __init arch_timer_mem_acpi_init(int platform_timer_count) * While unlikely, it's theoretically possible that none of the frames * in a timer expose the combination of feature we want. */ - for (i = i; i < timer_count; i++) { + for (i = 0; i < timer_count; i++) { timer = &timers[i]; frame = arch_timer_mem_find_best_frame(timer); |