Thread (45 messages) 45 messages, 7 authors, 2015-08-05

Re: [PATCH v2 4/9] arm: twr-k70f120m: timer driver for Kinetis SoC

From: Paul Osmialowski <hidden>
Date: 2015-07-01 08:45:00
Also in: linux-arm-kernel, linux-clk, linux-gpio, linux-serial, lkml

Hi Thomas,

On Wed, 1 Jul 2015, Thomas Gleixner wrote:
quoted
+		clockevents_register_device(
+				&kinetis_clockevent_tmrs[chan].evtdev);
+
+		kinetis_pit_init(&kinetis_clockevent_tmrs[chan],
+						(rate / HZ) - 1);
+		kinetis_pit_enable(&kinetis_clockevent_tmrs[chan], 1);
No point doing this. The core code has invoked the set_periodic call
back via clockevents_register_device() already.
As I removed this kinetis_pit_enable() line, the timer did not start, 
therefore the system became unusable. What could be possible reason for 
that?
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help