clk: ti: dpll: convert DPLL support code to use clk_hw instead of clk ptrs
authorTero Kristo <t-kristo@ti.com>
Sat, 20 Feb 2016 11:24:26 +0000 (13:24 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 22 Feb 2016 22:16:49 +0000 (14:16 -0800)
commitb6f5128459a40410f9afefddc0ad688ea5b22c28
treedfd2a78beabd091b5c49d8aa045497061c1d1855
parent1e59403990acfb67d0e9ddf57fe6acc1c2aff4dc
clk: ti: dpll: convert DPLL support code to use clk_hw instead of clk ptrs

Convert DPLL support code to use clk_hw pointers for reference and bypass
clocks. This allows us to use clk_hw_* APIs for accessing any required
parameters for these clocks, avoiding some locking problems at least with
DPLL enable code; this used clk_get_rate which uses mutex but isn't
good under clk_enable / clk_disable.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/ti/apll.c
drivers/clk/ti/clkt_dpll.c
drivers/clk/ti/dpll.c
drivers/clk/ti/dpll3xxx.c
drivers/clk/ti/dpll44xx.c
include/linux/clk/ti.h