Thread (39 messages) 39 messages, 5 authors, 2015-08-10

[PATCH 22/23] misc: atmel_tclib: get and use slow clock

From: gregkh@linuxfoundation.org (Greg Kroah-Hartman)
Date: 2015-08-05 20:45:33
Also in: linux-pwm, lkml

On Fri, Jul 31, 2015 at 11:39:58AM +0200, Alexandre Belloni wrote:
From: Boris Brezillon <redacted>

Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system
hang") added a workaround for the slow clock as it is not properly handled
by its users.

Get and use the slow clock as it is necessary for the timer counters.

Signed-off-by: Boris Brezillon <redacted>
Signed-off-by: Alexandre Belloni <redacted>
---
Cc: Daniel Lezcano <redacted>
Cc: Thomas Gleixner <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Thierry Reding <redacted>
Cc: linux-pwm at vger.kernel.org
 drivers/clocksource/tcb_clksrc.c |  8 ++++++++
 drivers/misc/atmel_tclib.c       |  4 ++++
 drivers/pwm/pwm-atmel-tcb.c      | 23 ++++++++++++++++-------
 include/linux/atmel_tc.h         |  1 +
 4 files changed, 29 insertions(+), 7 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help