summaryrefslogtreecommitdiffstats
path: root/net/mac802154/rx.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2013-07-16 16:45:38 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-07-18 15:27:17 +0200
commit63d88f1ac71173e47c40ea116e4489f71c6ed9c7 (patch)
treeaa3f33239ba3236fd09c46db5dd1f526b1948931 /net/mac802154/rx.c
parent8c31bec28b69a86aa83f072e6e00225380853a9e (diff)
downloadtalos-op-linux-63d88f1ac71173e47c40ea116e4489f71c6ed9c7.tar.gz
talos-op-linux-63d88f1ac71173e47c40ea116e4489f71c6ed9c7.zip
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 <maxime.ripard@free-electrons.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'net/mac802154/rx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud