ARM: OMAP3+: DPLL: use determine_rate() and set_rate_and_parent()
authorTero Kristo <t-kristo@ti.com>
Fri, 3 Oct 2014 13:57:14 +0000 (16:57 +0300)
committerPaul Walmsley <paul@pwsan.com>
Thu, 13 Nov 2014 16:26:45 +0000 (09:26 -0700)
commit2e1a7b014f9c3d61fbf12b429f0479242264dbec
treececb7c3739740f991c03eda4f0fbfd075458cd82
parente3ab6013ab06d3a861ed00c1f8d32aa4e6b66ddd
ARM: OMAP3+: DPLL: use determine_rate() and set_rate_and_parent()

Currently, DPLLs are hiding the gory details of switching parent
within set_rate, which confuses the common clock code and is wrong.
Fixed by applying the new determine_rate() and set_rate_and_parent()
functionality to any clock-ops previously using the broken approach.
This patch also removes the broken legacy code.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/cclock3xxx_data.c
arch/arm/mach-omap2/dpll3xxx.c
drivers/clk/ti/dpll.c