]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbaeca528e3ec2f530dd4bf3d91f932f35e12cfde
tree012b116f890cf80c13720fc42276261e06674485
parent604e5f3a5f557e66e9dd81dbb35a2e84b78bd5ea
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