diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-11-12 19:08:30 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-11-23 17:02:56 +0100 |
commit | 13d52f61065dcdbea13aae2f0aea6af43a3abf65 (patch) | |
tree | 340f76ec04ec82f84ec8ea3b57e3b7a65b4135f6 /drivers/amba | |
parent | clk: sunxi: Removed unused/incorrect sun6i-a31-apb2-clk driver (diff) | |
download | linux-13d52f61065dcdbea13aae2f0aea6af43a3abf65.tar.xz linux-13d52f61065dcdbea13aae2f0aea6af43a3abf65.zip |
clk: sunxi: Specify number of child clocks for divs clocks
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@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions