]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00210850 mx6: boot failure with local timer and wait mode enabled
authorXinyu Chen <xinyu.chen@freescale.com>
Fri, 25 May 2012 03:39:15 +0000 (11:39 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:43 +0000 (08:34 +0200)
commit7183f5365fab2014437e5860c0f108ceb7a7a155
treee9406288dd8c5f99088eaf26833c0508b95477a1
parent6d3b88aca29c1f6602d2875b2ae1b2de04e6b4c7
ENGR00210850 mx6: boot failure with local timer and wait mode enabled

Previous patch only check the condition that GPT broadcast
event is ready or not before doing clock event switch.
It's not enough, as the clock switch from local timer to GPT
broadcast must be happen after GPT broadcast clock event setup
and current cpu's clock device switch to local timer clock event.
Otherwise, we will have chance that cpu exit the wait mode and
switch back clock event without local timer event setup correctly.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
arch/arm/mach-mx6/system.c