clk: divider: Fix clk_divider_round_rate() to use clk_readl()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 12 Aug 2016 12:37:54 +0000 (14:37 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 13 Aug 2016 00:33:09 +0000 (17:33 -0700)
commit2cf9a57811bddb6fa6b0f8d7376da164d5534813
tree2f84febd7894c27ba220a06c245d0633a5a9905b
parent1fd92dbaabe3096ded391eed2e8dd74afe02d0d2
clk: divider: Fix clk_divider_round_rate() to use clk_readl()

clk-divider uses clk_readl()/clk_writel() everywhere, except in
clk_divider_round_rate(), where plain readl() is used. Change this to
clk_readl(), as it makes a difference on powerpc.

Fixes: e6d5e7d90be92cee ("clk-divider: Fix READ_ONLY when divider > 1")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-divider.c