[PATCH 22/23] misc: atmel_tclib: get and use slow clock
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Wed Aug 5 13:45:31 PDT 2015
On Fri, Jul 31, 2015 at 11:39:58AM +0200, Alexandre Belloni wrote:
> From: Boris Brezillon <boris.brezillon at free-electrons.com>
>
> 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 <boris.brezillon at free-electrons.com>
> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> ---
> Cc: Daniel Lezcano <daniel.lezcano at linaro.org>
> Cc: Thomas Gleixner <tglx at linutronix.de>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> 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 at linuxfoundation.org>
More information about the linux-arm-kernel
mailing list