diff options
author | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | 2016-02-09 22:54:25 -0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-02-25 14:30:19 +0100 |
commit | 751db1a6eaec3d266ccfe3f0d11323b7c82486bf (patch) | |
tree | 1e45c4aa1e47b4a0eab2fce5909f20e43b909b00 /security | |
parent | 522ed95c26cd03b768018e441bbc0ff656e30fe4 (diff) | |
download | blackbird-obmc-linux-751db1a6eaec3d266ccfe3f0d11323b7c82486bf.tar.gz blackbird-obmc-linux-751db1a6eaec3d266ccfe3f0d11323b7c82486bf.zip |
clocksource/drivers/lpc32xx: Don't use the prescaler counter for clockevents
This commit switches the clockevents one-shot current implementation
to avoid using the prescaler counter. The clockevents timer currently
uses MR0=1, PR=ticks; and after this commit is uses MR0=ticks, PR=0.
While using the prescaler with PR=1 works fine in one-shot mode,
it seems it doesn't work as expected in periodic mode.
By using the only match channel register (MR0) for the timer we make
the periodic mode introduction easier, and consistent with one-shot mode.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Joachim Eastwood <manabian@gmail.com>
Tested-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions