]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
clk: divider: return real rate instead of divider value
authorHeiko Stübner <heiko@sntech.de>
Tue, 24 Feb 2015 10:39:25 +0000 (11:39 +0100)
committerMichael Turquette <mturquette@linaro.org>
Fri, 6 Mar 2015 17:25:13 +0000 (09:25 -0800)
commit2f7bf4af5c8177f6a27d9b67efdeb48f5bdbf821
tree4603115bca32b1344e97b0cece85736a57adeec8
parenta456fe3d27b1fe502fe3d5fd21cd025e5bf64c22
clk: divider: return real rate instead of divider value

Commit bca9690b9426 ("clk: divider: Make generic for usage elsewhere")
returned only the divider value for read-only dividers instead of the
actual rate.

Fixes: bca9690b9426 ("clk: divider: Make generic for usage elsewhere")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Tested-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk-divider.c