Re: [PATCH 03/27] clk: ti: add support for clkctrl aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/30, Tero Kristo wrote:
> +		}
> +
> +		if (num_args && clkctrl_nodes_missing)
> +			continue;
> +
> +		node = of_find_node_by_name(NULL, buf);
> +		if (num_args)
> +			node = of_find_node_by_name(node, "clk");
>  		clkspec.np = node;
> +		clkspec.args_count = num_args;
> +		for (i = 0; i < num_args; i++) {
> +			ret = kstrtoint(tags[i], i ? 10 : 16, clkspec.args + i);

Is this some sort of DT checker?

> +			if (ret) {
> +				pr_warn("Bad tag in %s at %d: %s\n",
> +					c->node_name, i, tags[i]);
> +				return;
> +			}
> +		}
>  		clk = of_clk_get_from_provider(&clkspec);
>  

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux