Thread (19 messages) 19 messages, 4 authors, 2016-03-17

Re: arm: at91: do not disable/enable clocks in a row

From: Alexandre Belloni <hidden>
Date: 2016-03-17 18:09:53
Also in: linux-arm-kernel, lkml

On 09/03/2016 at 10:58:24 +0100, Sebastian Andrzej Siewior wrote :
* Alexandre Belloni | 2016-03-08 19:39:10 [+0100]:
quoted
Hi,
Hi,
quoted
Both are things to work on. In the mean time, I'm using the following
patch:
https://github.com/alexandrebelloni/linux/commit/3a2eae463fce18ae815b887a5c9ca1a657b180ac

I understood from
http://lkml.iu.edu/hypermail/linux/kernel/1601.2/00941.html that this
was not your preferred course of action.
That was one thing.  What about this:

---

Currently the driver will disable the clock and enable it one line later
if it is switching from periodic mode into one shot.
This can be avoided and causes a needless warning on -RT.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
I'm fine with that if you don't want to rely on the clock event state
machine.

Can you submit it to the mainline with:
Tested-by: Alexandre Belloni <redacted>
Acked-by: Alexandre Belloni <redacted>


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help