diff options
author | Paul Cercueil <paul@crapouillou.net> | 2018-01-16 16:47:52 +0100 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-01-18 22:04:56 +0000 |
commit | e6cfa64375d34a6c8c1861868a381013b2d3b921 (patch) | |
tree | 88176eba2122e096fe39d476c84be32befb1726f /drivers/clk/ingenic/jz4780-cgu.c | |
parent | ee1f9df26972fd736e0b2f52ad19935046bbc189 (diff) | |
download | blackbird-op-linux-e6cfa64375d34a6c8c1861868a381013b2d3b921.tar.gz blackbird-op-linux-e6cfa64375d34a6c8c1861868a381013b2d3b921.zip |
clk: ingenic: Fix recalc_rate for clocks with fixed divider
Previously, the clocks with a fixed divider would report their rate
as being the same as the one of their parent, independently of the
divider in use. This commit fixes this behaviour.
This went unnoticed as neither the jz4740 nor the jz4780 CGU code
have clocks with fixed dividers yet.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Maarten ter Huurne <maarten@treewalker.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18477/
Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'drivers/clk/ingenic/jz4780-cgu.c')
0 files changed, 0 insertions, 0 deletions