diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-01-04 13:03:01 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-01-08 12:10:02 +0100 |
commit | 322fd24f5e67c396f04bef01ed33ac6bfca46bcd (patch) | |
tree | 6aefde3622fd2e5218303ca798e8dc4bb62dfe1c /block | |
parent | 4df6da430da4db957ea51a6c30e404a751b0aed5 (diff) |
clocksource/drivers/stm32: Start the timer's counter soonerclockevents/4.16
As we have a lot of timers on this platform, we can have potentially all the
timers enabled in the DT, so we don't want to start the timer for every probe
otherwise they will be running for nothing as only one will be used.
Start the timer only when setting the mode or when the clocksource is
enabled.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Acked-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions