Subject: [PATCH/RFC V6 2/2] clk: Add handling of clk parent and rate assigned from DT

From: [email-masked] (Sylwester Nawrocki)
Date: Tue, 20 May 2014 13:49:39 +0200

On 19/05/14 19:22, Sylwester Nawrocki wrote:
> @@ -2620,7 +2639,10 @@ void __init of_clk_init(const struct of_device_id *matches)
>  		list_for_each_entry_safe(clk_provider, next,
>  					&clk_provider_list, node) {
>  			if (force || parent_ready(clk_provider->np)) {
> +
>  				clk_provider->clk_init_cb(clk_provider->np);
> +				of_clk_set_defaults(np, true);

There is an error in this patch, this line should read:

+				of_clk_set_defaults(clk_provider->np, true);

>  				list_del(&clk_provider->node);
>  				kfree(clk_provider);
>  				is_init_done = true;