[PATCH v3 1/6] clk: sunxi: Specify number of child clocks for divs clocks
maxime.ripard at free-electrons.com
Sun Nov 16 08:57:55 PST 2014
On Thu, Nov 13, 2014 at 02:08:30AM +0800, Chen-Yu Tsai wrote:
> Currently sunxi_divs_clk_setup assumes the number of child clocks
> to be the same as the number of clock-output-names, and a maximum
> of SUNXI_DIVS_MAX_QTY child clocks.
> On sun6i, PLL6 only has 1 child clock, but the parent would be used
> as well, thereby also having it's own clock-output-names entry. This
> results in an extra bogus clock being registered.
> This patch adds an entry for the number of child clocks alongside
> the data structures for them.
> Signed-off-by: Chen-Yu Tsai <wens at csie.org>
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the linux-arm-kernel