aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2013-07-16 16:45:38 +0200
committerDaniel Lezcano <[email protected]>2013-07-18 15:27:17 +0200
commit63d88f1ac71173e47c40ea116e4489f71c6ed9c7 (patch)
treeaa3f33239ba3236fd09c46db5dd1f526b1948931 /lib/memory-notifier-error-inject.c
parent8c31bec28b69a86aa83f072e6e00225380853a9e (diff)
clocksource: sun4i: Fix the next event code
The next_event logic was setting the next interval to fire in the current timer value instead of the interval value register, which is obviously wrong. Plus, the logic to set the actual value was wrong as well: the interval register can only be modified when the timer is disabled, and then enable it back, otherwise, it'll have no effect. Fix this logic as well since that code couldn't possibly work. Signed-off-by: Maxime Ripard <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions