[PATCH 3/4] mfd: dbx500: Provide a more accurate smp_twd clock
Samuel Ortiz
sameo at linux.intel.com
Wed Sep 19 12:02:51 EDT 2012
Hi Ulf,
On Fri, Aug 31, 2012 at 02:21:30PM +0200, Ulf Hansson wrote:
> From: Michel Jaouen <michel.jaouen at stericsson.com>
>
> The local timer clock is based on ARM subsystem clock. This patch
> obtains a more exact value of that clock by reading PRCMU registers.
> Using this increases the accuracy of the local timer events.
>
> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
> Signed-off-by: Rickard Andersson <rickard.andersson at stericsson.com>
> Signed-off-by: Michel Jaouen <michel.jaouen at stericsson.com>
> ---
> drivers/mfd/db8500-prcmu.c | 42 ++++++++++++++++++++++++++++++++++++++
> drivers/mfd/dbx500-prcmu-regs.h | 4 +++-
> include/linux/mfd/dbx500-prcmu.h | 1 +
> 3 files changed, 46 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
> index 4f74529..e7f9539 100644
> --- a/drivers/mfd/db8500-prcmu.c
> +++ b/drivers/mfd/db8500-prcmu.c
> @@ -418,6 +418,9 @@ static struct {
>
> static atomic_t ac_wake_req_state = ATOMIC_INIT(0);
>
> +/* Functions definition */
> +static void compute_armss_rate(void);
> +
I'm not a big fan of forward declarations, but I still applied your patch to
my for-next branch. Thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
More information about the linux-arm-kernel
mailing list