Re: [PATCH 2/4] clk: mvebu: armada-370: Fix timer drift caused by the SSCG deviation

From: Gregory CLEMENT
Date: Fri Aug 29 2014 - 09:37:16 EST


Hi Thomas,

On 29/08/2014 15:08, Thomas Petazzoni wrote:
> 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.

OK I will fix it in the next version


Thanks,

Gregory


>
>> +{
>> + 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
>


--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/