lkml.org 
[lkml]   [2014]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] clk: mvebu: armada-370: Fix timer drift caused by the SSCG deviation
Dear Gregory CLEMENT,

On Fri, 29 Aug 2014 13:43:38 +0200, Gregory CLEMENT wrote:

> +bool a370_is_sscg_enabled(void __iomem *sar)

Minor nit: "static" is missing here.

> +{
> + return !(readl(sar) & SARL_A370_SSCG_ENABLE);
> +}
> +
> static const struct coreclk_soc_desc a370_coreclks = {
> .get_tclk_freq = a370_get_tclk_freq,
> .get_cpu_freq = a370_get_cpu_freq,
> .get_clk_ratio = a370_get_clk_ratio,
> + .is_sscg_enabled = a370_is_sscg_enabled,
> .ratios = a370_coreclk_ratios,
> .num_ratios = ARRAY_SIZE(a370_coreclk_ratios),
> };

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


\
 
 \ /
  Last update: 2014-08-29 15:21    [W:0.099 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site