]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00210469 MX6q - Fix suspend/resume failure.
authorRanjani Vaidyanathan <ra5478@freescale.com>
Mon, 21 May 2012 14:37:03 +0000 (09:37 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:42 +0000 (08:34 +0200)
commitd47855b5967c6d97b1a503fc7674d8ee2ee5bea0
tree797ed5b24bf76e51749cd9e29423f438b7461a00
parent95d75e87bc3b964c4e47e36fdc27400ddcffd3f4
ENGR00210469 MX6q - Fix suspend/resume failure.

Sourcing AXI_CLK from PLL3_PFD_540M causes the system to
hang on resuming from STOP mode.
The main issue is that PFDs may sometimes hang/freeze
when their parent PLLs are powered on and then relocked
when exiting from STOP mode. To avoid this, PFDs must
be disabled before entering STOP and enabled after resume.

The fix is to move axi_clk to periph_clk before system
enters STOP and then restore it back to PLL3_PFD_540M
after resume.

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