Thread (3 messages) 3 messages, 2 authors, 2017-11-03

[PATCH v16 12/13] arm, tile: turn off timer tick for oneshot_stopped state

From: Chris Metcalf <hidden>
Date: 2017-11-03 17:36:34
Also in: lkml

On 11/3/2017 1:18 PM, Mark Rutland wrote:
Hi Chris,

On Fri, Nov 03, 2017 at 01:04:51PM -0400, Chris Metcalf wrote:
quoted
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index fd4b7f684bd0..61ea7f907c56 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -722,6 +722,8 @@ static void __arch_timer_setup(unsigned type,
  		}
  	}
  
+	clk->set_state_oneshot_stopped = clk->set_state_shutdown;
AFAICT, we've set up this callback since commit:

   cf8c5009ee37d25c ("clockevents/drivers/arm_arch_timer: Implement ->set_state_oneshot_stopped()")

... so I don't beleive this is necessary, and I think this change can be
dropped.
Thanks, I will drop it.? I missed the semantic merge conflict there.

I extracted the arch/tile specific part of the change and just pushed it 
through
the tile tree.

-- 
Chris Metcalf, Mellanox Technologies
http://www.mellanox.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