OMAP3 clock: recalculate DPLL subtree after bypass entry/exit
authorPaul Walmsley <paul@pwsan.com>
Thu, 18 Sep 2008 16:30:34 +0000 (10:30 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 22 Sep 2008 14:45:10 +0000 (17:45 +0300)
commit5c6497bc6f4d2d629efa2bcfa6486539e4b5a797
tree35a29e8f51b7b7821e9c79521d5db5e7957c32cb
parent9c909ac90902a9c0ecca2bc9ac36289cb84990f5
OMAP3 clock: recalculate DPLL subtree after bypass entry/exit

The DPLL's rate changes when it enters or leaves bypass, so the DPLL's
rate and the rates of all dependent clocks need to be recalculated
when this happens.

Also, fix test for bypass to test against the appropriate bypass clock,
rather than the parent clock (which is not the bypass clock for DPLL1
and DPLL2).

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock34xx.c