[PATCH] vexpress: Initialise the sysregs before setting up the clocks

Jon Medhurst (Tixy) tixy at linaro.org
Thu May 1 08:14:35 PDT 2014


On Thu, 2014-05-01 at 15:05 +0100, Catalin Marinas wrote:
[...]
> In addition, vexpress_sysreg_init() is changed to a device_initcall()

Not in this patch it isn't ;-)

>  as the core_initcall() is no longer
> required.
> 
> Signed-off-by: Catalin Marinas <catalin.marinas at arm.com>
> Tested-by: Will Deacon <will.deacon at arm.com>
> Acked-by: Will Deacon <will.deacon at arm.com>
> Tested-by: Pawel Moll <pawel.moll at arm.com>
> Acked-by: Pawel Moll <pawel.moll at arm.com>
> Cc: Mike Turquette <mturquette at linaro.org>
> ---
> 
> Mike, I'd like to get this in for 3.15 and I'm happy to push it via the arm64
> tree. Are you ok with this? Thanks.
> 
>  drivers/clk/versatile/clk-vexpress-osc.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/clk/versatile/clk-vexpress-osc.c b/drivers/clk/versatile/clk-vexpress-osc.c
> index a535c7bf8574..422391242b39 100644
> --- a/drivers/clk/versatile/clk-vexpress-osc.c
> +++ b/drivers/clk/versatile/clk-vexpress-osc.c
> @@ -100,6 +100,8 @@ void __init vexpress_osc_of_setup(struct device_node *node)
>  	struct clk *clk;
>  	u32 range[2];
>  
> +	vexpress_sysreg_of_early_init();
> +
>  	osc = kzalloc(sizeof(*osc), GFP_KERNEL);
>  	if (!osc)
>  		return;
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel





More information about the linux-arm-kernel mailing list