ARM: iMX5: Don't enable DPLL if it already enabled
authorJason Liu <jason.hui@linaro.org>
Fri, 5 Aug 2011 15:34:32 +0000 (23:34 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 5 Aug 2011 16:10:19 +0000 (18:10 +0200)
commite1b96ada659431669efaf3defa997abf5db68130
tree012b116f890cf80c13720fc42276261e06674485
parent2012d9ca2a1381ae3e733330a7f0d1d2f1988bba
ARM: iMX5: Don't enable DPLL if it already enabled

If the DPLL is already enabled, don't try to enable it again.
Since write to the DPLL control register will make the DPLL
reset and which will cause some issues when some child module
are sourced from this DPLL.

Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/clock-mx51-mx53.c