]> Git Repo - linux.git/commit - drivers/clocksource/pxa_timer.c
ARM: sa11x0/pxa: acquire timer rate from the clock rate
authorRobert Jarzmik <[email protected]>
Mon, 19 Sep 2016 19:12:13 +0000 (21:12 +0200)
committerRobert Jarzmik <[email protected]>
Tue, 18 Oct 2016 07:12:36 +0000 (09:12 +0200)
commitf4e14edf25661f32c9e7323d8a482b8632a6f47f
treea778fa00549bd28efe7c6ed27c56e1348b8d4aff
parenta758c9b93f5c4e826b3c0849c96c630b1cce8f8d
ARM: sa11x0/pxa: acquire timer rate from the clock rate

As both pxa and sa1100 provide a clock to the timer, the rate can be
inferred from the clock rather than hard encoded in a functional call.

This patch changes the pxa timer to have a mandatory clock which is used
as the timer rate.

Signed-off-by: Robert Jarzmik <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Acked-by: Russell King <[email protected]>
arch/arm/mach-pxa/generic.c
arch/arm/mach-sa1100/generic.c
drivers/clocksource/pxa_timer.c
include/clocksource/pxa.h
This page took 0.053579 seconds and 4 git commands to generate.