Message ID | 1502461061-28065-1-git-send-email-daniel.lezcano@linaro.org |
---|---|
State | Accepted |
Commit | d197f7988721221fac64f899efd7657c15281810 |
Headers | show |
Series | [1/5] clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization | expand |
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index aae87c4..72bbfcc 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);