]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00236837 MX6SL-Fix random crash caused by incorrect setting of IPG clk rate.
authorRanjani Vaidyanathan <ra5478@freescale.com>
Tue, 11 Dec 2012 23:50:33 +0000 (17:50 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:48 +0000 (08:35 +0200)
commit7d1a87d39a9d2fa3e5752840e42f4f8ad27712ba
treeefaf7c4525f34c9fd42aaa4259ba98d075533a05
parentebb63ed242d455449fa1ec732ff3c6809202b793
ENGR00236837 MX6SL-Fix random crash caused by incorrect setting of IPG clk rate.

Need to ensure that bus frequency setpoint is changed only if
the system is not already at the requested setpoint.
Changing the bus freq to high setpoint when its already at
high setpoint causes the AHB/IPG dividers to be set incorrectly.
Then when the system enters WAIT mode, the 12:5 ratio of
ARM_CLK:IPG_CLK is no longer maintained.
This causes random crashes.
Fix is to return immediately if the bus is already at the
requested setpoint

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
arch/arm/mach-mx6/bus_freq.c