summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-sp.h
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2016-02-10 04:54:26 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-02-25 16:30:20 +0300
commit32f32d982f655dd191858406b11e50219a0ee01e (patch)
treeac1c176915488da0d354ee1ba4b4848769b41109 /drivers/clocksource/timer-sp.h
parent751db1a6eaec3d266ccfe3f0d11323b7c82486bf (diff)
downloadlinux-32f32d982f655dd191858406b11e50219a0ee01e.tar.xz
clocksource/drivers/lpc32xx: Support periodic mode
This commit adds the support for periodic mode. This is done by not setting the MR0S (Stop on TnMR0) bit on MCR, thus allowing interrupts to be periodically generated on MR0 matches. In order to do this, move the initial configuration that is specific to the one-shot mode to set_state_oneshot(). 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 'drivers/clocksource/timer-sp.h')
0 files changed, 0 insertions, 0 deletions