ARM: OMAP3+: dpll: optimize noncore dpll locking logic
authorVikram Pandita <vikram.pandita@ti.com>
Wed, 4 Jul 2012 11:00:44 +0000 (05:00 -0600)
committerPaul Walmsley <paul@pwsan.com>
Wed, 4 Jul 2012 11:00:44 +0000 (05:00 -0600)
commit55ffe163c8b4e2aa0a083000e02ec26efd71ea63
treef0135662556a2b259654b9837d7ffd7ec8268d8e
parentf0d3d821db4ffa63de344347587429b940086e25
ARM: OMAP3+: dpll: optimize noncore dpll locking logic

If the dpll is already locked, code can be optimized
to return much earlier than doing redundent set of lock mode
and wait on idlest.

Cc: Tony Lindgren <tony@atomide.com>
Cc: Jon Hunter <jon-hunter@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Mike Turquette <mturquette@ti.com>
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/dpll3xxx.c