summaryrefslogtreecommitdiffstats
path: root/drivers/ssb/b43_pci_bridge.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@st.com>2018-01-08 14:28:55 +0100
committerIngo Molnar <mingo@kernel.org>2018-01-08 17:57:26 +0100
commit8e82df381b676ae5f6c93ab4a75f56d8f61babc4 (patch)
tree371c81f9c8cbde911b4aa678d78d513308054454 /drivers/ssb/b43_pci_bridge.c
parentclocksource/drivers/stm32: Compute a prescaler value with a targeted rate (diff)
downloadlinux-8e82df381b676ae5f6c93ab4a75f56d8f61babc4.tar.xz
linux-8e82df381b676ae5f6c93ab4a75f56d8f61babc4.zip
clocksource/drivers/stm32: Add oneshot mode
The stm32 timer block is able to have a counter and a comparator. Instead of using the auto-reload register for periodic events, we switch to oneshot mode by using the comparator register. The timer is able to generate an interrupt when the counter overflows but we don't want that as this counter will be use as a clocksource in the next patches. So it is disabled by the UDIS bit of the control register. Tested-by: Benjamin Gaignard <benjamin.gaignard@st.com> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Benjamin Gaignard <benjamin.gaignard@st.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1515418139-23276-16-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/ssb/b43_pci_bridge.c')
0 files changed, 0 insertions, 0 deletions