diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-11-13 02:08:30 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-11-23 17:02:56 +0100 |
commit | 13d52f61065dcdbea13aae2f0aea6af43a3abf65 (patch) | |
tree | 340f76ec04ec82f84ec8ea3b57e3b7a65b4135f6 /drivers/mfd/timberdale.h | |
parent | eaa2e9804e9cbd0b46f74e39ca6f92e4834547db (diff) |
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/mfd/timberdale.h')
0 files changed, 0 insertions, 0 deletions